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 lombok.ToString; 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 @ToString @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 HH:mm:ss") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @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; /**药材*/ @ApiModelProperty(value = "药材名称") private String herbName; /**初始含水率*/ @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 Integer feed; /**初始重量*/ @Excel(name = "初始重量", width = 15) @ApiModelProperty(value = "初始重量") private Double originWeight; /**预计干燥时间*/ @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 dryTime; /**热风温度*/ @Excel(name = "热风温度", width = 15) @ApiModelProperty(value = "热风温度") private Double windTemp; /**环境温度*/ @Excel(name = "环境温度", width = 15) @ApiModelProperty(value = "环境温度") private Double envTemp; /**环境湿度*/ @Excel(name = "环境湿度", width = 15) @ApiModelProperty(value = "环境湿度") private Double envHum; /**荡料延时ms*/ @Excel(name = "荡料延时ms", width = 15) @ApiModelProperty(value = "荡料延时ms") private Integer delay; /**翻料次数*/ @Excel(name = "翻料次数", width = 15) @ApiModelProperty(value = "翻料次数") private Integer turn; /**预计剩余时间*/ @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; /**温度趋势*/ @ApiModelProperty(value = "温度趋势") private String temps; /**蒸汽消耗*/ @ApiModelProperty(value = "蒸汽消耗") private Double steam; /**电能消耗*/ @ApiModelProperty(value = "电能消耗") private Double watt; }