package com.ycl.platform.domain.entity; import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import java.time.LocalDateTime; import com.ycl.platform.base.AbsEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.experimental.Accessors; /** * 运维点位 * * @author xp * @since 2024-03-05 */ @Data @Accessors(chain = true) @TableName("t_yw_point") @ApiModel(value = "YwPoint对象", description = "运维点位") public class YwPoint extends AbsEntity { private static final long serialVersionUID = 1L; @ApiModelProperty("点位名称") @TableField("point_name") private String pointName; @ApiModelProperty("点位开始时间") @TableField("start_time") private LocalDateTime startTime; @ApiModelProperty("点位结束时间") @TableField("end_time") private LocalDateTime endTime; @ApiModelProperty("运维单位") @TableField(value = "unit_id", updateStrategy = FieldStrategy.IGNORED) private Integer unitId; @ApiModelProperty("运维状态") @TableField("status") private String status; @ApiModelProperty("备注") @TableField("remark") private String remark; @ApiModelProperty("运维类型") @TableField("category") private Short category; @ApiModelProperty("上报部门") @TableField("dept_id") private Long deptId; @TableField("point_detail") private String pointDetail; }