package cn.gistack.sm.point.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
|
/**
|
* 点位
|
*
|
* @author zhongrj
|
* @date 2023-09-23
|
*/
|
@Data
|
@TableName(value = "sm_point")
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
public class Point {
|
|
/**
|
* id
|
*/
|
@ApiModelProperty(value = "id")
|
@TableId(value = "id",type = IdType.ASSIGN_ID)
|
private Long id;
|
|
/**
|
* 水库编号
|
*/
|
@ApiModelProperty(value = "水库编号")
|
private String resGuid;
|
|
/**
|
* 测点名称
|
*/
|
@ApiModelProperty(value = "测点名称")
|
private String name;
|
|
/**
|
* 测点类型
|
*/
|
@ApiModelProperty(value = "测点类型")
|
private String type;
|
|
/**
|
* 图片id,关联考证表id
|
*/
|
@ApiModelProperty(value = "图片id,关联考证表id")
|
private String picId;
|
|
/**
|
* x
|
*/
|
@ApiModelProperty(value = "x")
|
private String x;
|
|
/**
|
* y
|
*/
|
@ApiModelProperty(value = "y")
|
private String y;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "创建时间")
|
private Date createTime;
|
}
|