package com.javaweb.geotdp.vo;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* 上传记录的通用字段
|
*/
|
public class RecordBaseVo {
|
|
|
private List<MediaVo> mediaListStr; //媒体相关字段
|
|
private String ids;// char(32) UUID(必填)
|
private String code;// char(32) 记录编号(必填)
|
|
/**
|
* 记录分类(必填,直接填写汉字,因考虑历史数据原因,“机长”表示司钻员)
|
* 回次、岩土、取土、标贯、动探、水位、取水、备注、
|
* 描述员、负责人、工程师、场景、机长、钻机、提钻录像
|
*/
|
private String type;// 记录分类
|
|
private String title;// 标题
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
|
private Date createTime;// 记录保存时间(必填)
|
|
private String recordPerson;// 描述员(必填人员id)
|
|
private String description;// 描述备注
|
|
private Double longitude;// double 定位经度(如果能定位则必填,用于计算和展示)
|
|
private Double latitude;//double 定位纬度(如果能定位则必填,用于计算和展示)
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
|
private Date gpsTime;//datetime 定位时间(如果能定位则必填,用于计算和展示)
|
|
private Boolean isDelete;//boolean 是否是历史记录
|
|
private String position;//varchar(200) 无法定位的地点(以下6项只有在无法定位时才需要填写)
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
|
private Date locateTime;//datetime 无法定位的时间
|
|
private String reason;//varchar(500) 无法定位的原因
|
|
private String pic1;//varchar(300) 现场拍照1
|
|
private String pic2;//varchar(300) 现场拍照2
|
|
private String pic3;//varchar(300) 现场拍照3
|
|
public List<MediaVo> getMediaListStr() {
|
return mediaListStr;
|
} //媒体数据
|
|
|
public void setMediaListStr(List<MediaVo> mediaListStr) {
|
this.mediaListStr = mediaListStr;
|
}
|
|
|
public String getIds() {
|
return ids;
|
}
|
|
public void setIds(String ids) {
|
this.ids = ids;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getRecordPerson() {
|
return recordPerson;
|
}
|
|
public void setRecordPerson(String recordPerson) {
|
this.recordPerson = recordPerson;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public Double getLongitude() {
|
return longitude;
|
}
|
|
public void setLongitude(Double longitude) {
|
this.longitude = longitude;
|
}
|
|
public Double getLatitude() {
|
return latitude;
|
}
|
|
public void setLatitude(Double latitude) {
|
this.latitude = latitude;
|
}
|
|
public Date getGpsTime() {
|
return gpsTime;
|
}
|
|
public void setGpsTime(Date gpsTime) {
|
this.gpsTime = gpsTime;
|
}
|
|
public Boolean getIsDelete() {
|
return isDelete;
|
}
|
|
public void setIsDelete(Boolean delete) {
|
isDelete = delete;
|
}
|
|
public String getPosition() {
|
return position;
|
}
|
|
public void setPosition(String position) {
|
this.position = position;
|
}
|
|
public Date getLocateTime() {
|
return locateTime;
|
}
|
|
public void setLocateTime(Date locateTime) {
|
this.locateTime = locateTime;
|
}
|
|
public String getReason() {
|
return reason;
|
}
|
|
public void setReason(String reason) {
|
this.reason = reason;
|
}
|
|
public String getPic1() {
|
return pic1;
|
}
|
|
public void setPic1(String pic1) {
|
this.pic1 = pic1;
|
}
|
|
public String getPic2() {
|
return pic2;
|
}
|
|
public void setPic2(String pic2) {
|
this.pic2 = pic2;
|
}
|
|
public String getPic3() {
|
return pic3;
|
}
|
|
public void setPic3(String pic3) {
|
this.pic3 = pic3;
|
}
|
}
|