package org.jeecg.modules.dnc.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; 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: nc文件对应数控程序加工确认表 * @Author: jeecg-boot * @Date: 2025-05-27 * @Version: V1.0 */ @Data @TableName("nc_guide_card_batch") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="nc_guide_card_batch对象", description="nc文件对应数控程序加工确认表") public class GuideCardBatch implements Serializable { private static final long serialVersionUID = 1L; /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /**nc文档表主键*/ @Excel(name = "nc文档表主键", width = 15) @ApiModelProperty(value = "nc文档表主键") private String docId; /**mes标识*/ @Excel(name = "mes标识", width = 15) @ApiModelProperty(value = "mes标识") private String mesSign; /**批次号*/ @Excel(name = "批次号", width = 15) @ApiModelProperty(value = "批次号") private String batchNumber; /**流水号*/ @Excel(name = "流水号", width = 15) @ApiModelProperty(value = "流水号") private String serialNumber; /**单位*/ @Excel(name = "单位", width = 15) @ApiModelProperty(value = "单位") private String unit; /**程序文件名*/ @Excel(name = "程序文件名", width = 15) @ApiModelProperty(value = "程序文件名") private String docName; /**零件图号*/ @Excel(name = "零件图号", width = 15) @ApiModelProperty(value = "零件图号") private String partsCode; /**零件名称*/ @Excel(name = "零件名称", width = 15) @ApiModelProperty(value = "零件名称") private String partsName; /**零件材料*/ @Excel(name = "零件材料", width = 15) @ApiModelProperty(value = "零件材料") private String materielDesp; /**夹具*/ @Excel(name = "夹具", width = 15) @ApiModelProperty(value = "夹具") private String fixtureInformation; /**工序(工步号)*/ @Excel(name = "工序(工步号)", width = 15) @ApiModelProperty(value = "工序(工步号)") private String processWorkCode; /**加工批次*/ @Excel(name = "加工批次", width = 15) @ApiModelProperty(value = "加工批次") private String processingBatch; /**加工数量*/ @Excel(name = "加工数量", width = 15) @ApiModelProperty(value = "加工数量") private String processingQuantity; /**加工设备*/ @Excel(name = "加工设备", width = 15) @ApiModelProperty(value = "加工设备") private String processingEquipment; /**图片*/ @Excel(name = "图片", width = 15) @ApiModelProperty(value = "图片") private String picture; /**说明信息*/ @Excel(name = "说明信息", width = 15) @ApiModelProperty(value = "说明信息") private String remake; /**流程状态*/ @Excel(name = "流程状态", width = 15) @ApiModelProperty(value = "流程状态") private String flowStatus; /**编写人*/ @Excel(name = "编写人", width = 15) @ApiModelProperty(value = "编写人") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String compiler; /**编写日期*/ @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 compilerTime; /**校对人*/ @Excel(name = "校对人", width = 15) @ApiModelProperty(value = "校对人") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String proofreader; /**校对日期*/ @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 proofreaderTime; /**操作者*/ @Excel(name = "操作者", width = 15) @ApiModelProperty(value = "操作者") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String operator; /**首检日期*/ @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 inspectionTime; /**首检意见*/ @Excel(name = "首检意见", width = 15) @ApiModelProperty(value = "首检意见") private String inspectionOpinion; /**审批人*/ @Excel(name = "审批人", width = 15) @ApiModelProperty(value = "审批人") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String approver; /**审批日期*/ @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 approverTime; /**创建人*/ @ApiModelProperty(value = "创建人") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") 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; /**所属部门*/ @ApiModelProperty(value = "所属部门") private String sysOrgCode; }