| | |
| | | import java.time.LocalDateTime; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | @Getter |
| | | @Setter |
| | | @TableName("safe_hazard") |
| | | @ApiModel(value = "SafeHazard对象", description = "安全生产--危险源台账") |
| | | @Schema(name = "SafeHazard对象", description = "安全生产--危险源台账") |
| | | public class SafeHazard implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty("危险源名称") |
| | | @Schema(description = "危险源名称") |
| | | private String name; |
| | | |
| | | @ApiModelProperty("危险源编码") |
| | | @Schema(description = "危险源编码") |
| | | private String code; |
| | | |
| | | @ApiModelProperty("危险源类型") |
| | | @Schema(description = "危险源类型") |
| | | private String type; |
| | | |
| | | @ApiModelProperty("风险等级") |
| | | @Schema(description = "风险等级") |
| | | private String riskLevel; |
| | | |
| | | @ApiModelProperty("所在位置") |
| | | @Schema(description = "所在位置") |
| | | private String location; |
| | | |
| | | @ApiModelProperty("规格 / 风险描述") |
| | | @Schema(description = "规格 / 风险描述") |
| | | private String specInfo; |
| | | |
| | | @ApiModelProperty("管控措施") |
| | | @Schema(description = "管控措施") |
| | | private String controlMeasures; |
| | | |
| | | @ApiModelProperty("管控责任人 ID") |
| | | @Schema(description = "管控责任人 ID") |
| | | private Integer principalUserId; |
| | | |
| | | @ApiModelProperty("管控责任人") |
| | | @Schema(description = "管控责任人") |
| | | @TableField(exist = false) |
| | | private String principalUser; |
| | | |
| | | @ApiModelProperty("责任人联系电话") |
| | | @Schema(description = "责任人联系电话") |
| | | private String principalMobile; |
| | | |
| | | @ApiModelProperty("库存数量") |
| | | @Schema(description = "库存数量") |
| | | private BigDecimal stockQty; |
| | | |
| | | @ApiModelProperty("备注") |
| | | @Schema(description = "备注") |
| | | private String remark; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer tenantId; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | } |