package com.flightfeather.uav.domain.entity; import java.util.Date; import javax.persistence.*; public class Mission { @Id @Column(name = "mission_code") private String missionCode; @Column(name = "device_type") private String deviceType; @Column(name = "device_code") private String deviceCode; @Column(name = "start_time") private Date startTime; @Column(name = "end_time") private Date endTime; @Column(name = "district_name") private String districtName; /** * 数据是否已经拉取入库 */ @Column(name = "data_pulled") private Boolean dataPulled; /** * @return mission_code */ public String getMissionCode() { return missionCode; } /** * @param missionCode */ public void setMissionCode(String missionCode) { this.missionCode = missionCode == null ? null : missionCode.trim(); } /** * @return device_type */ public String getDeviceType() { return deviceType; } /** * @param deviceType */ public void setDeviceType(String deviceType) { this.deviceType = deviceType == null ? null : deviceType.trim(); } /** * @return device_code */ public String getDeviceCode() { return deviceCode; } /** * @param deviceCode */ public void setDeviceCode(String deviceCode) { this.deviceCode = deviceCode == null ? null : deviceCode.trim(); } /** * @return start_time */ public Date getStartTime() { return startTime; } /** * @param startTime */ public void setStartTime(Date startTime) { this.startTime = startTime; } /** * @return end_time */ public Date getEndTime() { return endTime; } /** * @param endTime */ public void setEndTime(Date endTime) { this.endTime = endTime; } /** * @return district_name */ public String getDistrictName() { return districtName; } /** * @param districtName */ public void setDistrictName(String districtName) { this.districtName = districtName == null ? null : districtName.trim(); } /** * 获取数据是否已经拉取入库 * * @return data_pulled - 数据是否已经拉取入库 */ public Boolean getDataPulled() { return dataPulled; } /** * 设置数据是否已经拉取入库 * * @param dataPulled 数据是否已经拉取入库 */ public void setDataPulled(Boolean dataPulled) { this.dataPulled = dataPulled; } }