|
@@ -1,10 +1,12 @@
|
|
package com.github.zuihou.business.productionReadyCenter.dto;
|
|
package com.github.zuihou.business.productionReadyCenter.dto;
|
|
|
|
|
|
|
|
+import cn.afterturn.easypoi.excel.annotation.Excel;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.github.zuihou.base.entity.Entity;
|
|
import com.github.zuihou.base.entity.Entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
+import com.github.zuihou.injection.annonation.InjectionField;
|
|
import com.github.zuihou.model.RemoteData;
|
|
import com.github.zuihou.model.RemoteData;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
@@ -23,6 +25,10 @@ import com.github.zuihou.common.constant.DictionaryType;
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
+import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;
|
|
|
|
+import static com.github.zuihou.common.constant.InjectionFieldConstants.DICTIONARY_ITEM_CLASS;
|
|
|
|
+import static com.github.zuihou.common.constant.InjectionFieldConstants.DICTIONARY_ITEM_METHOD;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
* 实体类
|
|
* 实体类
|
|
@@ -78,6 +84,31 @@ public class TraySaveDTO implements Serializable {
|
|
@ApiModelProperty(value = "托盘数量")
|
|
@ApiModelProperty(value = "托盘数量")
|
|
private Integer num;
|
|
private Integer num;
|
|
|
|
|
|
|
|
+ @ApiModelProperty(value = "入场日期")
|
|
|
|
+ @Length(max = 255, message = "入场日期不能超过128")
|
|
|
|
+ @Excel(name = "入场日期")
|
|
|
|
+ private String joinDate;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 物料类型
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty(value = "物料类型")
|
|
|
|
+ @Length(max = 128, message = "物料类型长度不能超过128")
|
|
|
|
+ @Excel(name = "物料类型")
|
|
|
|
+ private String materialType;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "生产分厂")
|
|
|
|
+ @Length(max = 128, message = "name长度不能超过128")
|
|
|
|
+ @Excel(name = "生产分厂")
|
|
|
|
+ private String factory;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "有效期(月)")
|
|
|
|
+ private Integer expiryDate;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "周期(月)")
|
|
|
|
+ private Integer period;
|
|
|
|
+
|
|
private List<TrayPositionSaveDTO> trayPositionList;
|
|
private List<TrayPositionSaveDTO> trayPositionList;
|
|
|
|
|
|
}
|
|
}
|