package com.javaweb.hydrology.domain;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.javaweb.common.annotation.Excel;
|
import com.javaweb.common.core.domain.BaseEntity;
|
|
/**
|
* 水文数据对象 js_hydrology_data
|
*
|
* @author zmk
|
* @date 2022-09-01
|
*/
|
public class HydrologyData extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 主键 */
|
private Long id;
|
|
/** 水文变化数据 */
|
@Excel(name = "水文变化数据")
|
private Double record;
|
|
/** 孔号 */
|
@Excel(name = "孔号")
|
private String holeNum;
|
|
/** 年 */
|
@Excel(name = "年")
|
private String year;
|
|
/** 月份 */
|
@Excel(name = "月份")
|
private String month;
|
|
/** 层级 */
|
@Excel(name = "层级")
|
private String layer;
|
|
public HydrologyData(){
|
|
}
|
|
public HydrologyData(String holeNum,String year,String month,String layer,Double record){
|
this.holeNum=holeNum;
|
this.year=year;
|
this.month=month;
|
this.layer=layer;
|
this.record=record;
|
}
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
public void setRecord(Double record)
|
{
|
this.record = record;
|
}
|
|
public Double getRecord()
|
{
|
return record;
|
}
|
public void setHoleNum(String holeNum)
|
{
|
this.holeNum = holeNum;
|
}
|
|
public String getHoleNum()
|
{
|
return holeNum;
|
}
|
public void setYear(String year)
|
{
|
this.year = year;
|
}
|
|
public String getYear()
|
{
|
return year;
|
}
|
public void setMonth(String month)
|
{
|
this.month = month;
|
}
|
|
public String getMonth()
|
{
|
return month;
|
}
|
public void setLayer(String layer)
|
{
|
this.layer = layer;
|
}
|
|
public String getLayer()
|
{
|
return layer;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("record", getRecord())
|
.append("holeNum", getHoleNum())
|
.append("year", getYear())
|
.append("month", getMonth())
|
.append("layer", getLayer())
|
.append("createTime", getCreateTime())
|
.toString();
|
}
|
}
|