package org.jeecg.modules.mes.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
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.util.Date;
|
|
/**
|
* @Description: 工单报工
|
* @Author: jeecg-boot
|
* @Date: 2025-07-04
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("mes_work_reporting")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value="mes_work_reporting对象", description="工单报工")
|
public class MesWorkReporting implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**主键*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@ApiModelProperty(value = "主键")
|
private String id;
|
/**创建人*/
|
@ApiModelProperty(value = "创建人")
|
private String createBy;
|
/**创建日期*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "创建日期")
|
private Date createTime;
|
/**更新人*/
|
@ApiModelProperty(value = "更新人")
|
private String updateBy;
|
/**更新日期*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "更新日期")
|
private Date updateTime;
|
/**删除标记*/
|
@Excel(name = "删除标记", width = 15)
|
@ApiModelProperty(value = "删除标记")
|
@TableLogic
|
private Integer delFlag;
|
/**订单ID*/
|
@Excel(name = "订单ID", width = 15)
|
@Dict(dictTable = "mes_production_order", dicCode = "id", dicText = "order_code")
|
@ApiModelProperty(value = "订单ID")
|
private String orderId;
|
/**工单ID*/
|
@Excel(name = "工单ID", width = 15)
|
@Dict(dictTable = "mes_production_work_order", dicCode = "id", dicText = "work_order_code")
|
@ApiModelProperty(value = "工单ID")
|
private String workOrderId;
|
/**产线ID*/
|
@Excel(name = "产线ID", width = 15)
|
@Dict(dictTable = "base_factory", dicCode = "id", dicText = "factory_name")
|
@ApiModelProperty(value = "产线ID")
|
private String factoryId;
|
/**批次号*/
|
@Excel(name = "批次号", width = 15)
|
@ApiModelProperty(value = "批次号")
|
private String batchNumber;
|
/**托号*/
|
@Excel(name = "托号", width = 15)
|
@ApiModelProperty(value = "托号")
|
private String palletNumber;
|
/**数量*/
|
@Excel(name = "数量", width = 15)
|
@ApiModelProperty(value = "数量")
|
private Double quantity;
|
/**报工人*/
|
@Excel(name = "报工人", width = 15)
|
@ApiModelProperty(value = "报工人")
|
private String reporter;
|
/**报工时间*/
|
@Excel(name = "报工时间", width = 20, 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 reportTime;
|
/**线边仓ID*/
|
@Excel(name = "线边仓ID", width = 15)
|
@Dict(dictTable = "base_line_side_warehouse", dicCode = "id", dicText = "warehouse_name")
|
@ApiModelProperty(value = "线边仓ID")
|
private String warehouseId;
|
/**成品下线打印状态*/
|
@Excel(name = "成品下线打印状态", width = 15, dicCode = "print_status")
|
@Dict(dicCode = "print_status")
|
@ApiModelProperty(value = "成品下线打印状态")
|
private String printStatus;
|
}
|