123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 |
- package com.sooka.sponest.data.digitalwater.domain;
- import com.ruoyi.common.core.annotation.Excel;
- import com.sooka.sponest.data.base.domain.BaseBusinessEntity;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import javax.validation.constraints.NotBlank;
- import java.util.List;
- /**
- * 河流资源对象 centerdata_t_hydraulic_river
- *
- * @author lyq
- * @date 2022-11-17
- */
- @ApiModel(value ="河流资源对象",description = "河流资源对象")
- public class CenterdataTHydraulicRiver extends BaseBusinessEntity {
- private static final long serialVersionUID = 1L;
- /**
- * 主键id
- */
- @ApiModelProperty(value = "主键id", required = false)
- private String id;
- /**
- * 名称
- */
- @ApiModelProperty(value = "名称", required = false)
- @Excel(name = "名称")
- @NotBlank(message = "名称不能为空")
- private String name;
- /**
- * 流域面积 平方公里
- */
- @ApiModelProperty(value = "流域面积 平方公里", required = false)
- @Excel(name = "流域面积 平方公里")
- @NotBlank(message = "流域面积 平方公里不能为空")
- private String basinArea;
- /**
- * 县域内面积 平方公里
- */
- @ApiModelProperty(value = "县域内面积 平方公里", required = false)
- @Excel(name = "县域内面积 平方公里")
- @NotBlank(message = "县域内面积 平方公里不能为空")
- private String basinAreaCounty;
- /**
- * 河源
- */
- @ApiModelProperty(value = "河源", required = false)
- @Excel(name = "河源")
- private String riverSource;
- /**
- * 河口 即河段终点
- */
- @ApiModelProperty(value = "河口 即河段终点", required = false)
- @Excel(name = "河口 即河段终点")
- private String estuary;
- @ApiModelProperty(value = "流经村", required = false)
- private List<Long> hamletNum;//id
- @Excel(name = "流经村")
- private List<String> hamletNumLabel;//label
- private String hamlet;//列表展示用id
- private String hamletLabel;//列表展示用
- /**
- * 河道总长 公里
- */
- @ApiModelProperty(value = "河道总长 公里", required = false)
- @Excel(name = "河道总长 公里")
- @NotBlank(message = "河道总长 公里不能为空")
- private String riverwayLength;
- /**
- * 县域内河道长 公里
- */
- @ApiModelProperty(value = "县域内河道长 公里", required = false)
- @Excel(name = "县域内河道长 公里")
- @NotBlank(message = "县域内河道长 公里不能为空")
- private String riverwayLengthCounty;
- /**
- * 部门id
- */
- @ApiModelProperty(value = "部门id", required = false)
- private Long deptId;
- /**
- * 所属部门
- */
- @ApiModelProperty(value = "所属部门", required = false)
- @Excel(name = "所属部门")
- @NotBlank(message = "部门名称不能为空")
- private String deptName;
- /**
- * 经度
- */
- @ApiModelProperty(value = "经度", required = false)
- @Excel(name = "经度")
- @NotBlank(message = "经度不能为空")
- private String longitude;
- /**
- * 纬度
- */
- @ApiModelProperty(value = "纬度", required = false)
- @Excel(name = "纬度")
- @NotBlank(message = "纬度不能为空")
- private String latitude;
- public String getHamletLabel() {
- return hamletLabel;
- }
- public void setHamletLabel(String hamletLabel) {
- this.hamletLabel = hamletLabel;
- }
- public String getHamlet() {
- return hamlet;
- }
- public void setHamlet(String hamlet) {
- this.hamlet = hamlet;
- }
- public List<Long> getHamletNum() {
- return hamletNum;
- }
- public void setHamletNum(List<Long> hamletNum) {
- this.hamletNum = hamletNum;
- }
- public List<String> getHamletNumLabel() {
- return hamletNumLabel;
- }
- public void setHamletNumLabel(List<String> hamletNumLabel) {
- this.hamletNumLabel = hamletNumLabel;
- }
- public String getLongitude() {
- return longitude;
- }
- public void setLongitude(String longitude) {
- this.longitude = longitude;
- }
- public String getLatitude() {
- return latitude;
- }
- public void setLatitude(String latitude) {
- this.latitude = latitude;
- }
- /**
- * 数据状态
- */
- @ApiModelProperty(value = "数据状态", required = false,hidden = true)
- private String dataStatus;
- /**
- * 设备中间表主键
- */
- @ApiModelProperty(value = "设备中间表主键", required = false,hidden = true)
- private List<String> deviceList;
- public List<String> getDeviceList() {
- return deviceList;
- }
- public void setDeviceList(List<String> deviceList) {
- this.deviceList = deviceList;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getId() {
- return id;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getName() {
- return name;
- }
- public void setBasinArea(String basinArea) {
- this.basinArea = basinArea;
- }
- public String getBasinArea() {
- return basinArea;
- }
- public void setBasinAreaCounty(String basinAreaCounty) {
- this.basinAreaCounty = basinAreaCounty;
- }
- public String getBasinAreaCounty() {
- return basinAreaCounty;
- }
- public void setRiverSource(String riverSource) {
- this.riverSource = riverSource;
- }
- public String getRiverSource() {
- return riverSource;
- }
- public void setEstuary(String estuary) {
- this.estuary = estuary;
- }
- public String getEstuary() {
- return estuary;
- }
- public void setRiverwayLength(String riverwayLength) {
- this.riverwayLength = riverwayLength;
- }
- public String getRiverwayLength() {
- return riverwayLength;
- }
- public void setRiverwayLengthCounty(String riverwayLengthCounty) {
- this.riverwayLengthCounty = riverwayLengthCounty;
- }
- public String getRiverwayLengthCounty() {
- return riverwayLengthCounty;
- }
- public void setDeptId(Long deptId) {
- this.deptId = deptId;
- }
- public Long getDeptId() {
- return deptId;
- }
- public void setDeptName(String deptName) {
- this.deptName = deptName;
- }
- public String getDeptName() {
- return deptName;
- }
- public void setDataStatus(String dataStatus) {
- this.dataStatus = dataStatus;
- }
- public String getDataStatus() {
- return dataStatus;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("name", getName())
- .append("basinArea", getBasinArea())
- .append("basinAreaCounty", getBasinAreaCounty())
- .append("riverSource", getRiverSource())
- .append("estuary", getEstuary())
- .append("riverwayLength", getRiverwayLength())
- .append("riverwayLengthCounty", getRiverwayLengthCounty())
- .append("deptId", getDeptId())
- .append("deptName", getDeptName())
- .append("createBy", getCreateBy())
- .append("createName", getCreateName())
- .append("createTime", getCreateTime())
- .append("updateBy", getUpdateBy())
- .append("updateName", getUpdateName())
- .append("updateTime", getUpdateTime())
- .append("dataStatus", getDataStatus())
- .append("latitude", getLatitude())
- .append("longitude", getLongitude())
- .toString();
- }
- }
|