| | |
| | | package com.ruoyi.safe.pojo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.FieldFill; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotBlank; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @since 2026-01-28 11:10:54 |
| | | */ |
| | | @Getter |
| | | @Setter |
| | | @Data |
| | | @TableName("safe_hidden") |
| | | @ApiModel(value = "SafeHidden对象", description = "安全生产--隐患排查上报") |
| | | @Schema(name = "SafeHidden对象", description = "安全生产--隐患排查上报") |
| | | public class SafeHidden implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty("隐患编号") |
| | | @Schema(description = "隐患编号") |
| | | private String hiddenCode; |
| | | |
| | | @ApiModelProperty("隐患类型") |
| | | @Schema(description = "隐患类型") |
| | | private String type; |
| | | |
| | | @ApiModelProperty("隐患风险等级") |
| | | @Schema(description = "隐患风险等级") |
| | | private String riskLevel; |
| | | |
| | | @ApiModelProperty("隐患具体位置") |
| | | @Schema(description = "隐患具体位置") |
| | | private String location; |
| | | |
| | | @ApiModelProperty("隐患描述") |
| | | @Schema(description = "隐患描述") |
| | | private String hiddenDesc; |
| | | |
| | | @ApiModelProperty("整改责任人 ID") |
| | | @Schema(description = "整改责任人 ID") |
| | | @NotBlank(message = "整改责任人不能为空") |
| | | private Integer rectifyUserId; |
| | | |
| | | @ApiModelProperty("整改人联系电话") |
| | | @Schema(description = "整改人联系电话") |
| | | private String rectifyUserMobile; |
| | | |
| | | @ApiModelProperty("整改完成期限(日期)") |
| | | @Schema(description = "整改完成期限(日期)") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @NotBlank(message = "整改完成期限不能为空") |
| | | private LocalDate rectifyTime; |
| | | |
| | | @ApiModelProperty("整改具体措施") |
| | | @Schema(description = "整改具体措施") |
| | | private String rectifyMeasures; |
| | | |
| | | @ApiModelProperty("实际整改完成时间") |
| | | @Schema(description = "实际整改完成时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate rectifyActualTime; |
| | | |
| | | @ApiModelProperty("验收人 ID") |
| | | @Schema(description = "验收人 ID") |
| | | private Integer verifyUserId; |
| | | |
| | | @ApiModelProperty("验收结果") |
| | | @Schema(description = "验收结果") |
| | | private String verifyResult; |
| | | |
| | | @ApiModelProperty("验收意见") |
| | | @Schema(description = "验收意见") |
| | | private String verifyRemark; |
| | | |
| | | @ApiModelProperty("验收时间") |
| | | @Schema(description = "验收时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate verifyTime; |
| | | |
| | | @ApiModelProperty("上报时间") |
| | | @Schema(description = "上报时间") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty("上报人id") |
| | | @Schema(description = "上报人id") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer createUser; |
| | | |
| | |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer tenantId; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | } |