package com.goldenwater.gx.domain;

import java.math.BigDecimal;
import com.goldenwater.common.annotation.Excel;
import com.goldenwater.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 数据交换站点对象 gx_exchange_station
 */
public class GxExchangeStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @Excel(name = "业务编码", type = Excel.Type.IMPORT)
    private String bizCode;

    @Excel(name = "单位编码", type = Excel.Type.IMPORT)
    private String unitCode;

    @Excel(name = "站码", type = Excel.Type.IMPORT)
    private String stcd;

    @Excel(name = "站名", type = Excel.Type.IMPORT)
    private String stnm;

    private String dbcd;

    @Excel(name = "站址", type = Excel.Type.IMPORT)
    private String stlc;

    @Excel(name = "经度", type = Excel.Type.IMPORT)
    private BigDecimal lgtd;

    @Excel(name = "纬度", type = Excel.Type.IMPORT)
    private BigDecimal lttd;

    @Excel(name = "河流名称", type = Excel.Type.IMPORT)
    private String rvnm;

    @Excel(name = "湖名称", type = Excel.Type.IMPORT)
    private String hnnm;

    @Excel(name = "流域名称", type = Excel.Type.IMPORT)
    private String bsnm;

    private String admauth;

    @Excel(name = "状态", readConverterExp = "0=正常,1=停用", type = Excel.Type.IMPORT)
    private String state;

    @Excel(name = "一三类标识", type = Excel.Type.IMPORT)
    private String flag1h3h;

    private String gcdl;

    @Excel(name = "备注", type = Excel.Type.IMPORT)
    private String note;

    @Excel(name = "删除标志", readConverterExp = "0=存在,1=删除")
    private String delFlag;

    /** 关联的业务域名称（非持久化） */
    private String bizName;

    /** 关联的单位名称（非持久化） */
    private String unitName;

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public String getBizCode() { return bizCode; }
    public void setBizCode(String bizCode) { this.bizCode = bizCode; }

    public String getUnitCode() { return unitCode; }
    public void setUnitCode(String unitCode) { this.unitCode = unitCode; }

    public String getStcd() { return stcd; }
    public void setStcd(String stcd) { this.stcd = stcd; }

    public String getStnm() { return stnm; }
    public void setStnm(String stnm) { this.stnm = stnm; }

    public String getDbcd() { return dbcd; }
    public void setDbcd(String dbcd) { this.dbcd = dbcd; }

    public String getStlc() { return stlc; }
    public void setStlc(String stlc) { this.stlc = stlc; }

    public BigDecimal getLgtd() { return lgtd; }
    public void setLgtd(BigDecimal lgtd) { this.lgtd = lgtd; }

    public BigDecimal getLttd() { return lttd; }
    public void setLttd(BigDecimal lttd) { this.lttd = lttd; }

    public String getRvnm() { return rvnm; }
    public void setRvnm(String rvnm) { this.rvnm = rvnm; }

    public String getHnnm() { return hnnm; }
    public void setHnnm(String hnnm) { this.hnnm = hnnm; }

    public String getBsnm() { return bsnm; }
    public void setBsnm(String bsnm) { this.bsnm = bsnm; }

    public String getAdmauth() { return admauth; }
    public void setAdmauth(String admauth) { this.admauth = admauth; }

    public String getState() { return state; }
    public void setState(String state) { this.state = state; }

    public String getFlag1h3h() { return flag1h3h; }
    public void setFlag1h3h(String flag1h3h) { this.flag1h3h = flag1h3h; }

    public String getGcdl() { return gcdl; }
    public void setGcdl(String gcdl) { this.gcdl = gcdl; }

    public String getNote() { return note; }
    public void setNote(String note) { this.note = note; }

    public String getDelFlag() { return delFlag; }
    public void setDelFlag(String delFlag) { this.delFlag = delFlag; }

    public String getBizName() { return bizName; }
    public void setBizName(String bizName) { this.bizName = bizName; }

    public String getUnitName() { return unitName; }
    public void setUnitName(String unitName) { this.unitName = unitName; }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("bizCode", getBizCode())
                .append("stcd", getStcd())
                .append("stnm", getStnm())
                .append("lgtd", getLgtd())
                .append("lttd", getLttd())
                .append("state", getState())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .toString();
    }
}
