package com.yueqian.xingyun.basedata.bo.stockcell;

import com.lframework.starter.web.core.annotations.convert.EnumConvert;
import com.lframework.starter.web.core.bo.BaseBo;
import com.yueqian.xingyun.basedata.dto.stockcell.StockCellDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class GetStockCellBo extends BaseBo<StockCellDto> {

  /**
   * ID
   */
  @Schema(description = "ID")
  private String id;

  /**
   * 编号
   */
  @Schema(description = "编号")
  private String code;

  /**
   * 名称
   */
  @Schema(description = "名称")
  private String name;

  /**
   * 仓位类别
   */
  @Schema(description = "仓位类别")
  @EnumConvert
  private Integer cellType;

  /**
   * 备注
   */
  @Schema(description = "备注")
  private String description;

  public GetStockCellBo() {

  }

  public GetStockCellBo(StockCellDto dto) {

    super(dto);
  }
}
