package com.newfiber.api.pc.model.entity; import com.alibaba.fastjson.annotation.JSONField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.newfiber.api.core.base.BaseDomain; import io.swagger.annotations.ApiModelProperty; import lombok.Builder; import lombok.Data; import java.math.BigDecimal; import java.util.Date; /** * @author : zhangjun * @Project_name:newfiber_haimian_cihu * @date:2020/4/23 17:30 * @email:505724729@qq.com * @description:{todo} * @Exception: throw {todo} */ @Data @Builder @TableName("pro_warn_log") public class ProWarnLogEntity extends BaseDomain { private static final long serialVersionUID = 1L; /** 主键 */ @ApiModelProperty(value = "主键") @JsonSerialize(using= ToStringSerializer.class) @TableId(type = IdType.AUTO) private Long id; /** 站点编号 */ @ApiModelProperty(value = "站点编号") private String siteNo; /** 站点名称 */ @ApiModelProperty(value = "站点名称") private String siteName; /** 警戒级别 */ @ApiModelProperty(value = "警戒级别") private Integer warnType; /** 警戒级别描述 */ @ApiModelProperty(value = "警戒级别描述") private String warnTypeDesc; /** 因子ASC码 */ @ApiModelProperty(value = "因子ASC码") private String factorsAscii; /** 因子名称 */ @ApiModelProperty(value = "因子名称") private String factorsName; /** 报警值 */ @ApiModelProperty(value = "报警值") private BigDecimal warnValue; /** 观测时间 */ @ApiModelProperty(value = "观测时间") @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date ttTime; /** 创建时间 */ @ApiModelProperty(value = "创建时间") @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date createTime; /** 审核信息 */ @ApiModelProperty(value = "审核信息") private String auditorMsg; /** 判断是否内涝*/ @ApiModelProperty(value = "判断是否内涝") private Boolean flag; }