package org.jeecg.modules.dnc.entity; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonIgnore; import io.swagger.annotations.Api; import lombok.Data; import lombok.NoArgsConstructor; import java.util.Date; @Data @NoArgsConstructor @TableName(value = "nc_permission_stream") @Api(value = "用户权限") public class PermissionStream { @TableId(value = "stream_id") private String streamId; //产品id @TableField(value = "product_id") private String productId; //部件id @TableField(value = "component_id") private String componentId; //零件id @TableField(value = "parts_id") private String partsId; //工序id @TableField(value = "process_id") private String processId; //工步id @TableField(value = "step_id") private String stepId; //用户id @TableField(value = "user_id") private String userId; //DNC部门id @TableField(value = "depart_id") private String departId; @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_by", select = false, fill = FieldFill.INSERT) private String createBy; @JsonIgnore @TableField(value = "update_by", select = false, fill = FieldFill.UPDATE) private String updateBy; @JsonIgnore @TableLogic @TableField(value = "delete_flag", select = false) private Integer deleteFlag = 0; }