package com.gk.hotwork.Domain;
|
|
|
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 javax.validation.constraints.NotBlank;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
@TableName("tasklocation")
|
public class TaskLocationInfo implements Serializable {
|
/** 作业人员定位表 id **/
|
@TableField(exist = false)
|
private static final long serialVersionUID = 1L;
|
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**作业编号 taskcode **/
|
@NotBlank(message = "作业编号不能为空")
|
private String taskcode;
|
|
/**作业人员 taskworker **/
|
private String taskworker;
|
|
/** 经度 longitude **/
|
@NotBlank(message = "经度不能为空")
|
private String longitude;
|
|
/** 纬度 latitude **/
|
@NotBlank(message = "纬度不能为空")
|
private String latitude;
|
|
/**更新时间 updatetime **/
|
private Date updatetime;
|
|
/** 作业人员定位表 id **/
|
public Long getId() {
|
return id;
|
}
|
|
/** 作业人员定位表 id **/
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
/** taskcode **/
|
public String getTaskcode() {
|
return taskcode;
|
}
|
|
/** taskcode **/
|
public void setTaskcode(String taskcode) {
|
this.taskcode = taskcode == null ? null : taskcode.trim();
|
}
|
|
/** taskworker **/
|
public String getTaskworker() {
|
return taskworker;
|
}
|
|
/** taskworker **/
|
public void setTaskworker(String taskworker) {
|
this.taskworker = taskworker == null ? null : taskworker.trim();
|
}
|
|
/** longitude **/
|
public String getLongitude() {
|
return longitude;
|
}
|
|
/** longitude **/
|
public void setLongitude(String longitude) {
|
this.longitude = longitude == null ? null : longitude.trim();
|
}
|
|
/** latitude **/
|
public String getLatitude() {
|
return latitude;
|
}
|
|
/** latitude **/
|
public void setLatitude(String latitude) {
|
this.latitude = latitude == null ? null : latitude.trim();
|
}
|
|
/** updatetime **/
|
public Date getUpdatetime() {
|
return updatetime;
|
}
|
|
/** updatetime **/
|
public void setUpdatetime(Date updatetime) {
|
this.updatetime = updatetime;
|
}
|
}
|