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 06:31:12 */ @Getter @Setter @TableName("device_accident_report") @Schema(description = "设备事故报告单") public class DeviceAccidentReport { @TableId(value = "accident_report_id", type = IdType.AUTO) private Integer accidentReportId; @Schema(description = "设备id") private Integer deviceId; @Schema(description = "地址") private String address; @Schema(description = "时间") private LocalDateTime accidentDate; @Schema(description = "事故情况描述") private String descriptionOfAccident; @Schema(description = "报告人id") private Integer reportUserId; @Schema(description = "报告人") private String reportUser; @Schema(description = "报告人填写时间") private LocalDate reportDate; @Schema(description = "评估人意见") private String assessorOpinion; @Schema(description = "评估人id") private Integer assessorUserId; @Schema(description = "评估人") private String assessorUser; @Schema(description = "评估人填写时间") private LocalDate assessorDate; @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 technicalDirectorOpinion; @Schema(description = "技术负责人id") private Integer technicalDirectorUserId; @Schema(description = "技术负责人") private String technicalDirectorUser; @Schema(description = "技术负责人填写时间") private LocalDate technicalDirectorDate; @Schema(description = "主任意见") private String directorHeadOpinion; @Schema(description = "主任id") private Integer directorHeadUserId; @Schema(description = "主任") private String directorHeadUser; @Schema(description = "主任填写时间") private LocalDate directorHeadDate; @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:技术负责人意见, 4:主任意见") private Integer flowType; }