package org.jeecg.modules.dncFlow.entity; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import io.swagger.annotations.Api; import lombok.Data; import lombok.NoArgsConstructor; import org.jeecg.common.aspect.annotation.Dict; import java.util.Date; @Data @NoArgsConstructor @TableName("nc_assign_file_stream") @Api(value= "DNC指派设备流程操作") public class AssignFileStream { @TableId(value = "stream_id") private String streamId; @TableField(value = "product_id") private String productId; @TableField(value = "component_id") private String componentId; @TableField(value = "parts_id") private String partsId; @TableField(value = "process_id") private String processId; @TableField(value = "step_id") private String stepId; @TableField(value = "doc_id") private String docId; @TableField(value = "file_id") private String fileId; @TableField(value = "device_id") private String deviceId; @TableField(value = "apply_user_id") private String applyUserId; @TableField(value = "apply_reason") private String applyReason; @TableField(value = "apply_time") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private Date applyTime; @TableField(value = "approve_user_id") private String approveUserId; @TableField(value = "approve_content") private String approveContent; @TableField(value = "approve_time") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private Date approveTime; @TableField(value = "status") @Dict(dicCode = "dnc_assign_stream_status") private Integer status; @JsonIgnore @TableField(value = "create_time", select = false, fill = FieldFill.INSERT) private Date createTime; @JsonIgnore @TableField(value = "update_time", select = false, fill = FieldFill.UPDATE) private Date updateTime; @JsonIgnore @TableField(value = "create_user", select = false, fill = FieldFill.INSERT) private String createUser; @JsonIgnore @TableField(value = "update_user", select = false, fill = FieldFill.UPDATE) private String updateUser; @JsonIgnore @TableLogic @TableField(value = "delete_flag", select = false) private Integer deleteFlag = 0; /**指派设备专用-所属ID*/ private transient String attributionId; /**指派设备专用-所属type*/ private transient String attributionType; }