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 java.io.Serializable; import java.time.LocalDateTime; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Getter; import lombok.Setter; import org.springframework.format.annotation.DateTimeFormat; /** *
* 安全生产--线路巡检记录 *
* * @author 芯导软件(江苏)有限公司 * @since 2026-06-29 */ @Getter @Setter @TableName("safe_line_inspection_record") @Schema(name = "SafeLineInspectionRecord对象", description = "安全生产--线路巡检记录") public class SafeLineInspectionRecord implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Integer id; @Schema(description = "巡检任务ID") private Integer inspectionId; @Schema(description = "检查点") private String checkPoint; @Schema(description = "检查内容") private String checkContent; @Schema(description = "检查结果(正常/异常)") private String checkResult; @Schema(description = "检查说明") private String checkDesc; @Schema(description = "检查时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime checkTime; @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; @Schema(description = "创建人ID") @TableField(fill = FieldFill.INSERT) private Integer createUser; @TableField(fill = FieldFill.INSERT) private Integer tenantId; @TableField(fill = FieldFill.INSERT) private Long deptId; }