新火炬后端单体项目初始化代码
zhangherong
2 天以前 b1612c81901953cda4c9c6f682f3c454d52abe09
src/main/java/org/jeecg/modules/lsw/entity/LswMaterialOutbound.java
@@ -10,10 +10,12 @@
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
@@ -30,7 +32,7 @@
public class LswMaterialOutbound implements Serializable {
    private static final long serialVersionUID = 1L;
   /**主键*/
    /**主键*/
   @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
@@ -67,6 +69,15 @@
   @Excel(name = "产线ID", width = 15)
    @ApiModelProperty(value = "产线ID")
    private String factoryId;
    /**库存ID*/
    @Excel(name = "库存ID", width = 15)
    @ApiModelProperty(value = "库存ID")
    private String inventoryId;
    /**线边库ID*/
    @Excel(name = "线边库ID", width = 15)
    @ApiModelProperty(value = "线边库ID")
    @Dict(dictTable = "base_line_side_warehouse", dicCode = "id", dicText = "warehouse_name")
    private String warehouseId;
   /**批次号*/
   @Excel(name = "批次号", width = 15)
    @ApiModelProperty(value = "批次号")
@@ -74,6 +85,7 @@
   /**出库人*/
   @Excel(name = "出库人", width = 15)
    @ApiModelProperty(value = "出库人")
    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
    private String outboundStaff;
   /**出库时间*/
   @Excel(name = "出库时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@@ -84,9 +96,10 @@
   /**出库数量*/
   @Excel(name = "出库数量", width = 15)
    @ApiModelProperty(value = "出库数量")
    private String quantity;
   /**工单ID*/
   @Excel(name = "工单ID", width = 15)
    @ApiModelProperty(value = "工单ID")
    private String workOrderId;
    private BigDecimal quantity;
    /**出库类型*/
    @Excel(name = "出库类型", width = 15)
    @ApiModelProperty(value = "出库类型")
    @Dict(dicCode = "material_outbound_category")
    private String outboundCategory;
}