package cn.iocoder.yudao.module.mes.controller.admin.safety.vo.ticket; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.time.LocalDateTime; @Schema(description = "管理后台 - 安全生产-作业票 Response VO") @Data public class MesSafetyWorkTicketRespVO { @Schema(description = "编号", example = "1024") private Long id; @Schema(description = "作业票号", example = "ZY-2026-001") private String code; @Schema(description = "作业类型", example = "1") private Integer ticketType; @Schema(description = "作业级别", example = "2") private Integer ticketLevel; @Schema(description = "关联风险单元编号", example = "1") private Long unitId; @Schema(description = "关联风险单元名称") private String unitName; @Schema(description = "所属车间编号", example = "7") private Long workshopId; @Schema(description = "所属车间名称") private String workshopName; @Schema(description = "作业地点") private String workLocation; @Schema(description = "作业内容") private String workContent; @Schema(description = "计划开始时间") private LocalDateTime planStartTime; @Schema(description = "计划结束时间") private LocalDateTime planEndTime; @Schema(description = "实际开始时间") private LocalDateTime actualStartTime; @Schema(description = "实际结束时间") private LocalDateTime actualEndTime; @Schema(description = "申请人编号", example = "1") private Long applicantUserId; @Schema(description = "申请人姓名") private String applicantUserName; @Schema(description = "申请部门编号", example = "120") private Long applicantDeptId; @Schema(description = "施工单位 / 承包商") private String contractor; @Schema(description = "作业人员") private String workerNames; @Schema(description = "监护人编号", example = "1") private Long guardianUserId; @Schema(description = "监护人姓名") private String guardianUserName; @Schema(description = "监护人是否已确认") private Boolean guardianConfirm; @Schema(description = "安全措施") private String safetyMeasures; @Schema(description = "安全交底 / 检查结果") private String safetyCheckResult; @Schema(description = "审批人编号", example = "1") private Long approverUserId; @Schema(description = "审批人姓名") private String approverUserName; @Schema(description = "审批时间") private LocalDateTime approveTime; @Schema(description = "审批意见") private String approveComment; @Schema(description = "驳回原因") private String rejectReason; @Schema(description = "状态", example = "0") private Integer status; @Schema(description = "是否已超过计划结束时间仍未完工", example = "false") private Boolean overdue; @Schema(description = "归档时间") private LocalDateTime closeTime; @Schema(description = "归档人编号", example = "1") private Long closeUserId; @Schema(description = "完工 / 归档说明") private String closeRemark; @Schema(description = "备注") private String remark; @Schema(description = "创建时间") private LocalDateTime createTime; }