package com.goldenwater.gx.domain;

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_biz
 */
public class GxExchangeBiz extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @Excel(name = "业务编码")
    private String bizCode;

    @Excel(name = "业务名称")
    private String bizName;

    @Excel(name = "业务类型", readConverterExp = "水位=水位,水质=水质,调度=调度,工程=工程")
    private String bizType;

    @Excel(name = "提供单位")
    private String bizUnit;

    private String bizImplType;

    private String bizImplUrl;

    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String bizState;

    @Excel(name = "数据频率")
    private String dataFreq;

    @Excel(name = "数据说明")
    private String bizNote;

    @Excel(name = "显示排序")
    private Integer orderNum;

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

    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 getBizName() { return bizName; }
    public void setBizName(String bizName) { this.bizName = bizName; }

    public String getBizType() { return bizType; }
    public void setBizType(String bizType) { this.bizType = bizType; }

    public String getBizUnit() { return bizUnit; }
    public void setBizUnit(String bizUnit) { this.bizUnit = bizUnit; }

    public String getBizImplType() { return bizImplType; }
    public void setBizImplType(String bizImplType) { this.bizImplType = bizImplType; }

    public String getBizImplUrl() { return bizImplUrl; }
    public void setBizImplUrl(String bizImplUrl) { this.bizImplUrl = bizImplUrl; }

    public String getBizState() { return bizState; }
    public void setBizState(String bizState) { this.bizState = bizState; }

    public String getDataFreq() { return dataFreq; }
    public void setDataFreq(String dataFreq) { this.dataFreq = dataFreq; }

    public String getBizNote() { return bizNote; }
    public void setBizNote(String bizNote) { this.bizNote = bizNote; }

    public Integer getOrderNum() { return orderNum; }
    public void setOrderNum(Integer orderNum) { this.orderNum = orderNum; }

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

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("bizCode", getBizCode())
                .append("bizName", getBizName())
                .append("bizType", getBizType())
                .append("bizUnit", getBizUnit())
                .append("bizState", getBizState())
                .append("dataFreq", getDataFreq())
                .append("bizNote", getBizNote())
                .append("orderNum", getOrderNum())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
