package org.jeecg.modules.dncFlow.entity; import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.util.Date; import java.math.BigDecimal; import com.baomidou.mybatisplus.annotation.*; 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: 2025-06-17 * @Version: V1.0 */ @Data @TableName("nc_assign_equipment_file_stream") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="nc_assign_equipment_file_stream对象", description="DNC-设备结构树指派产品结构树") public class AssignEquipmentFileStream implements Serializable { private static final long serialVersionUID = 1L; /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /**设备ID*/ @Excel(name = "设备ID", width = 15) @ApiModelProperty(value = "设备ID") @Dict(dictTable = "mdc_equipment", dicCode = "id", dicText = "equipment_id") private String equipmentId; /**设备文档ID*/ @Excel(name = "设备文档ID", width = 15) @ApiModelProperty(value = "设备文档ID") @Dict(dictTable = "nc_doc_info", dicCode = "doc_id", dicText = "doc_name") private String equipmentDocId; /**设备文件ID*/ @Excel(name = "设备文件ID", width = 15) @ApiModelProperty(value = "设备文件ID") private String equipmentFileId; /**产品ID*/ @Excel(name = "产品ID", width = 15) @ApiModelProperty(value = "产品ID") @Dict(dictTable = "nc_product_info", dicCode = "product_id", dicText = "product_name") private String productId; /**部件ID*/ @Excel(name = "部件ID", width = 15) @ApiModelProperty(value = "部件ID") @Dict(dictTable = "nc_component_info", dicCode = "component_id", dicText = "component_name") private String componentId; /**零件ID*/ @Excel(name = "零件ID", width = 15) @ApiModelProperty(value = "零件ID") @Dict(dictTable = "nc_parts_info", dicCode = "parts_id", dicText = "parts_name") private String partsId; /**工艺规程版本ID*/ @Excel(name = "工艺规程版本ID", width = 15) @ApiModelProperty(value = "工艺规程版本ID") @Dict(dictTable = "nc_process_spec_version", dicCode = "id", dicText = "process_spec_version_name") private String psvId; /**工序ID*/ @Excel(name = "工序ID", width = 15) @ApiModelProperty(value = "工序ID") @Dict(dictTable = "nc_process_stream", dicCode = "process_id", dicText = "process_name") private String processId; /**工步ID*/ @Excel(name = "工步ID", width = 15) @ApiModelProperty(value = "工步ID") @Dict(dictTable = "nc_work_step", dicCode = "id", dicText = "step_name") private String stepId; /**设备类ID*/ @Excel(name = "设备类ID", width = 15) @ApiModelProperty(value = "设备类ID") private String deviceTypeId; /**产品文档id*/ @Excel(name = "产品文档id", width = 15) @ApiModelProperty(value = "产品文档id") @Dict(dictTable = "nc_doc_info", dicCode = "doc_id", dicText = "doc_name") private String docId; /**指派原因*/ @Excel(name = "指派原因", width = 15) @ApiModelProperty(value = "指派原因") private String applyReason; /**审核类型*/ @Excel(name = "审核类型", width = 15) @ApiModelProperty(value = "审核类型") private String auditType; /**审核意见*/ @Excel(name = "审核意见", width = 15) @ApiModelProperty(value = "审核意见") private String auditReason; /**创建人*/ @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; /**所属部门*/ @ApiModelProperty(value = "所属部门") private String sysOrgCode; /**设备类名称*/ private transient String deviceTypeName; /**产品文件名称*/ private transient String docName; /**所属id*/ private transient String attributionId; /**所属type*/ private transient String attributionType; }