package com.ruoyi.device.pojo; import com.baomidou.mybatisplus.annotation.*; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Getter; import lombok.Setter; import java.time.LocalDate; import java.time.LocalDateTime; /** *
* 设备报废申请表 *
* * @author 江苏鵷雏网络科技有限公司 * @since 2024-12-17 01:53:47 */ @Getter @Setter @TableName("device_scrapped") @Schema(description = "设备报废申请表") public class DeviceScrapped { @TableId(value = "scrapped_id", type = IdType.AUTO) private Integer scrappedId; @Schema(description = "设备id") private Integer deviceId; @Schema(description = "配件") private String parts; @Schema(description = "报废理由") private String reasonsForScrap; @Schema(description = "申请人id") private Integer applicantUserId; @Schema(description = "申请人") private String applicantUser; @Schema(description = "申请时间") private LocalDate applicantDate; @Schema(description = "部门负责人意见") private String departmentHeadOpinion; @Schema(description = "部门负责人id") private Integer departmentHeadUserId; @Schema(description = "部门负责人") private String departmentHeadUser; @Schema(description = "部门负责人填写时间") private LocalDate departmentHeadDate; @Schema(description = "计量室意见") private String meteringRoomOpinion; @Schema(description = "计量室人id") private Integer meteringRoomUserId; @Schema(description = "计量室人") private String meteringRoomUser; @Schema(description = "计量室人填写时间") private LocalDate meteringRoomDate; @Schema(description = "批准人意见") private String approverOpinion; @Schema(description = "批准人id") private Integer approverUserId; @Schema(description = "批准人") private String approverUser; @Schema(description = "批准人填写时间") private LocalDate approverDate; @Schema(description = "是否结束,0: 未结束, 1:结束") private Integer isFinish; @Schema(description = "创建人") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @Schema(description = "修改人") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @Schema(description = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @TableField(exist = false,select = false) @Schema(description = "流程, 0:报废申请, 1申请部门负责人意见, 2:计量室意见, 3:批准人") private Integer flowType; }