132 lines
3.6 KiB
Java
132 lines
3.6 KiB
Java
|
|
package com.gunshi.project.xyt.model;
|
|||
|
|
|
|||
|
|
|
|||
|
|
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.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|||
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|||
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|||
|
|
import jakarta.validation.constraints.Size;
|
|||
|
|
import lombok.Data;
|
|||
|
|
|
|||
|
|
import java.io.Serializable;
|
|||
|
|
import java.math.BigDecimal;
|
|||
|
|
import java.util.List;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 描述: 白蚁普查明细
|
|||
|
|
* author: xusan
|
|||
|
|
* date: 2024-08-28 10:25:17
|
|||
|
|
*/
|
|||
|
|
@Schema(description="白蚁普查明细")
|
|||
|
|
@Data
|
|||
|
|
@TableName("public.termite_survey_detail")
|
|||
|
|
public class TermiteSurveyDetail implements Serializable {
|
|||
|
|
|
|||
|
|
|
|||
|
|
private static final long serialVersionUID = 1L;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 主键
|
|||
|
|
*/
|
|||
|
|
@TableId(value="id", type= IdType.AUTO)
|
|||
|
|
@Schema(description="主键")
|
|||
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|||
|
|
private Long id;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 普查id
|
|||
|
|
*/
|
|||
|
|
@TableField(value="survey_id")
|
|||
|
|
@Schema(description="普查id")
|
|||
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|||
|
|
private Long surveyId;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 部位
|
|||
|
|
*/
|
|||
|
|
@TableField(value="position")
|
|||
|
|
@Schema(description="部位")
|
|||
|
|
@Size(max = 50,message = "部位最大长度要小于 50")
|
|||
|
|
private String position;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 危害情况(0 无危害 1有危害)
|
|||
|
|
*/
|
|||
|
|
@TableField(value="is_harm")
|
|||
|
|
@Schema(description="危害情况(0 无危害 1有危害)")
|
|||
|
|
private Integer isHarm;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 桩号
|
|||
|
|
*/
|
|||
|
|
@TableField(value="pile_number")
|
|||
|
|
@Schema(description="桩号")
|
|||
|
|
@Size(max = 50,message = "桩号最大长度要小于 50")
|
|||
|
|
private String pileNumber;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 普查长度(m)
|
|||
|
|
*/
|
|||
|
|
@TableField(value="survey_len")
|
|||
|
|
@Schema(description="普查长度(m)")
|
|||
|
|
private BigDecimal surveyLen;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 是否致险(0否 1是)
|
|||
|
|
*/
|
|||
|
|
@TableField(value="is_danger")
|
|||
|
|
@Schema(description="是否致险(0否 1是)")
|
|||
|
|
private Integer isDanger;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 渗漏处数
|
|||
|
|
*/
|
|||
|
|
@TableField(value="leakage")
|
|||
|
|
@Schema(description="渗漏处数")
|
|||
|
|
private Integer leakage;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 穿坝处数
|
|||
|
|
*/
|
|||
|
|
@TableField(value="dam_cross")
|
|||
|
|
@Schema(description="穿坝处数")
|
|||
|
|
private Integer damCross;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 跌窝处数
|
|||
|
|
*/
|
|||
|
|
@TableField(value="fall_nest")
|
|||
|
|
@Schema(description="跌窝处数")
|
|||
|
|
private Integer fallNest;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 是否已处置(0否 1是)
|
|||
|
|
*/
|
|||
|
|
@TableField(value="is_handle")
|
|||
|
|
@Schema(description="是否已处置(0否 1是)")
|
|||
|
|
private Integer isHandle;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 处置情况说明
|
|||
|
|
*/
|
|||
|
|
@TableField(value="handle_desc")
|
|||
|
|
@Schema(description="处置情况说明")
|
|||
|
|
@Size(max = 500,message = "处置情况说明最大长度要小于 500")
|
|||
|
|
private String handleDesc;
|
|||
|
|
|
|||
|
|
@TableField(exist = false)
|
|||
|
|
@Schema(description = "活动迹象")
|
|||
|
|
private List<BzDictRel> actSign;
|
|||
|
|
|
|||
|
|
@TableField(exist = false)
|
|||
|
|
@Schema(description = "现场图片")
|
|||
|
|
private List<FileAssociations> pics;
|
|||
|
|
|
|||
|
|
@TableField(exist = false)
|
|||
|
|
@Schema(description = "现场视频")
|
|||
|
|
private List<FileAssociations> videos;
|
|||
|
|
|
|||
|
|
}
|