TGasStorageStationInfo.java 5.16 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
package com.zehong.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 储配站信息对象 t_gas_storage_station_info
 * 
 * @author zehong
 * @date 2023-08-14
 */
public class TGasStorageStationInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 储配站主键 */
    private Long stationId;

    /** 名称 */
    @Excel(name = "储配站名称")
    private String stationName;

    /** 代码 */
    @Excel(name = "储配站编号")
    private String stationCode;

    /** 负责人 */
    @Excel(name = "负责人")
    private String director;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String telNum;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 许可证文件 */
    @Excel(name = "许可证文件")
    private String licenceFile;

    /** 许可证编号 */
    @Excel(name = "许可证编号")
    private String licenceCode;

    /** 许可证有效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "许可证日期起", width = 30, dateFormat = "yyyy-MM-dd")
    private Date licenceEffectiveDate;

    /** 许可证有效期截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "许可证日期止", width = 30, dateFormat = "yyyy-MM-dd")
    private Date licenceLimitDate;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    private Date createBeginTime;

    private Date createEndTime;

    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }
    public void setStationName(String stationName) 
    {
        this.stationName = stationName;
    }

    public String getStationName() 
    {
        return stationName;
    }
    public void setStationCode(String stationCode) 
    {
        this.stationCode = stationCode;
    }

    public String getStationCode() 
    {
        return stationCode;
    }
    public void setDirector(String director) 
    {
        this.director = director;
    }

    public String getDirector() 
    {
        return director;
    }
    public void setTelNum(String telNum) 
    {
        this.telNum = telNum;
    }

    public String getTelNum() 
    {
        return telNum;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLicenceFile(String licenceFile) 
    {
        this.licenceFile = licenceFile;
    }

    public String getLicenceFile() 
    {
        return licenceFile;
    }
    public void setLicenceCode(String licenceCode) 
    {
        this.licenceCode = licenceCode;
    }

    public String getLicenceCode() 
    {
        return licenceCode;
    }
    public void setLicenceEffectiveDate(Date licenceEffectiveDate) 
    {
        this.licenceEffectiveDate = licenceEffectiveDate;
    }

    public Date getLicenceEffectiveDate() 
    {
        return licenceEffectiveDate;
    }
    public void setLicenceLimitDate(Date licenceLimitDate) 
    {
        this.licenceLimitDate = licenceLimitDate;
    }

    public Date getLicenceLimitDate() 
    {
        return licenceLimitDate;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }

    public Date getCreateBeginTime() {
        return createBeginTime;
    }

    public void setCreateBeginTime(Date createBeginTime) {
        this.createBeginTime = createBeginTime;
    }

    public Date getCreateEndTime() {
        return createEndTime;
    }

    public void setCreateEndTime(Date createEndTime) {
        this.createEndTime = createEndTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stationId", getStationId())
            .append("stationName", getStationName())
            .append("stationCode", getStationCode())
            .append("director", getDirector())
            .append("telNum", getTelNum())
            .append("address", getAddress())
            .append("licenceFile", getLicenceFile())
            .append("licenceCode", getLicenceCode())
            .append("licenceEffectiveDate", getLicenceEffectiveDate())
            .append("licenceLimitDate", getLicenceLimitDate())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}