package org.jeecg.modules.dry.entity; import java.io.Serializable; import java.util.Date; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; import org.springframework.format.annotation.DateTimeFormat; import org.jeecgframework.poi.excel.annotation.Excel; import org.jeecg.common.aspect.annotation.Dict; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; /** * @Description: 干燥批次 * @Author: jeecg-boot * @Date: 2023-03-08 * @Version: V1.0 */ @Data @TableName("dry_order") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="dry_order对象", description="干燥批次") public class DryOrder implements Serializable { private static final long serialVersionUID = 1L; /**id*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "id") private String id; /**批次时间*/ @Excel(name = "批次时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "批次时间") private Date orderTime; /**批次号*/ @Excel(name = "批次号", width = 15) @ApiModelProperty(value = "批次号") private String code; /**药材*/ @Excel(name = "药材", width = 15, dictTable = "dry_herb", dicText = "name", dicCode = "id") @Dict(dictTable = "dry_herb", dicText = "name", dicCode = "id") @ApiModelProperty(value = "药材") private String herbId; /**初始含水率*/ @Excel(name = "初始含水率", width = 15) @ApiModelProperty(value = "初始含水率") private Double initial; /**目标含水率*/ @Excel(name = "目标含水率", width = 15) @ApiModelProperty(value = "目标含水率") private Double target; /**投料量*/ @Excel(name = "投料量", width = 15) @ApiModelProperty(value = "投料量") private Double feed; /**预计干燥时间*/ @Excel(name = "预计干燥时间", width = 15) @ApiModelProperty(value = "预计干燥时间") private Integer et; /**干料重量*/ @Excel(name = "干料重量", width = 15) @ApiModelProperty(value = "干料重量") private Double yield; /**干燥时间*/ @Excel(name = "干燥时间", width = 15) @ApiModelProperty(value = "干燥时间") private Integer drying; /**预计剩余时间*/ @Excel(name = "预计剩余时间", width = 15) @ApiModelProperty(value = "预计剩余时间") private Integer remain; /**设备*/ @Excel(name = "设备", width = 15, dictTable = "dry_equipment", dicText = "name", dicCode = "id") @Dict(dictTable = "dry_equipment", dicText = "name", dicCode = "id") @ApiModelProperty(value = "设备") private String equId; /**车间*/ @Excel(name = "车间", width = 15, dictTable = "dry_shop", dicText = "name", dicCode = "id") @Dict(dictTable = "dry_shop", dicText = "name", dicCode = "id") @ApiModelProperty(value = "车间") private String shopId; /**租户id*/ @Excel(name = "租户id", width = 15) @ApiModelProperty(value = "租户id") private Integer tenantId; /**创建人*/ @ApiModelProperty(value = "创建人") private String createBy; /**创建时间*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "创建时间") private Date createTime; /**更新人*/ @ApiModelProperty(value = "更新人") private String updateBy; /**更新时间*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "更新时间") private Date updateTime; /**批次状态*/ @Excel(name = "批次状态", width = 15) @ApiModelProperty(value = "批次状态") private Integer orderStatus; /**操作人*/ @Excel(name = "操作人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id") @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id") @ApiModelProperty(value = "操作人") private String operator; }