package cn.flightfeather.supervision.domain.ds1.entity; import java.math.BigDecimal; import java.util.Date; import javax.persistence.*; @Table(name = "sm_t_device_location") public class DeviceLocation { @Id @Column(name = "DL_ID") private Integer dlId; /** * 所属设备id */ @Column(name = "DL_Device_Id") private Integer dlDeviceId; /** * 监测设备MN编号 */ @Column(name = "DL_Mn_Code") private String dlMnCode; /** * 设备位置 */ @Column(name = "DL_Location") private String dlLocation; @Column(name = "DL_Longitude") private BigDecimal dlLongitude; @Column(name = "DL_Latitude") private BigDecimal dlLatitude; /** * 安装位置是否规范 */ @Column(name = "DL_Standard") private Boolean dlStandard; /** * 安装位置不规范原因 */ @Column(name = "DL_UnStandard_Reason") private String dlUnstandardReason; /** * 设备现场图片 */ @Column(name = "DL_Pic_Url") private String dlPicUrl; @Column(name = "DL_Create_Time") private Date dlCreateTime; @Column(name = "DL_Update_Time") private Date dlUpdateTime; /** * @return DL_ID */ public Integer getDlId() { return dlId; } /** * @param dlId */ public void setDlId(Integer dlId) { this.dlId = dlId; } /** * 获取所属设备id * * @return DL_Device_Id - 所属设备id */ public Integer getDlDeviceId() { return dlDeviceId; } /** * 设置所属设备id * * @param dlDeviceId 所属设备id */ public void setDlDeviceId(Integer dlDeviceId) { this.dlDeviceId = dlDeviceId; } /** * 获取监测设备MN编号 * * @return DL_Mn_Code - 监测设备MN编号 */ public String getDlMnCode() { return dlMnCode; } /** * 设置监测设备MN编号 * * @param dlMnCode 监测设备MN编号 */ public void setDlMnCode(String dlMnCode) { this.dlMnCode = dlMnCode == null ? null : dlMnCode.trim(); } /** * 获取设备位置 * * @return DL_Location - 设备位置 */ public String getDlLocation() { return dlLocation; } /** * 设置设备位置 * * @param dlLocation 设备位置 */ public void setDlLocation(String dlLocation) { this.dlLocation = dlLocation == null ? null : dlLocation.trim(); } /** * @return DL_Longitude */ public BigDecimal getDlLongitude() { return dlLongitude; } /** * @param dlLongitude */ public void setDlLongitude(BigDecimal dlLongitude) { this.dlLongitude = dlLongitude; } /** * @return DL_Latitude */ public BigDecimal getDlLatitude() { return dlLatitude; } /** * @param dlLatitude */ public void setDlLatitude(BigDecimal dlLatitude) { this.dlLatitude = dlLatitude; } /** * 获取安装位置是否规范 * * @return DL_Standard - 安装位置是否规范 */ public Boolean getDlStandard() { return dlStandard; } /** * 设置安装位置是否规范 * * @param dlStandard 安装位置是否规范 */ public void setDlStandard(Boolean dlStandard) { this.dlStandard = dlStandard; } /** * 获取安装位置不规范原因 * * @return DL_UnStandard_Reason - 安装位置不规范原因 */ public String getDlUnstandardReason() { return dlUnstandardReason; } /** * 设置安装位置不规范原因 * * @param dlUnstandardReason 安装位置不规范原因 */ public void setDlUnstandardReason(String dlUnstandardReason) { this.dlUnstandardReason = dlUnstandardReason == null ? null : dlUnstandardReason.trim(); } /** * 获取设备现场图片 * * @return DL_Pic_Url - 设备现场图片 */ public String getDlPicUrl() { return dlPicUrl; } /** * 设置设备现场图片 * * @param dlPicUrl 设备现场图片 */ public void setDlPicUrl(String dlPicUrl) { this.dlPicUrl = dlPicUrl == null ? null : dlPicUrl.trim(); } /** * @return DL_Create_Time */ public Date getDlCreateTime() { return dlCreateTime; } /** * @param dlCreateTime */ public void setDlCreateTime(Date dlCreateTime) { this.dlCreateTime = dlCreateTime; } /** * @return DL_Update_Time */ public Date getDlUpdateTime() { return dlUpdateTime; } /** * @param dlUpdateTime */ public void setDlUpdateTime(Date dlUpdateTime) { this.dlUpdateTime = dlUpdateTime; } }