TEnterpriseInfo.java 7.76 KB
Newer Older
耿迪迪's avatar
耿迪迪 committed
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
package com.zehong.system.domain;

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

/**
 * 企业基础信息管理对象 t_enterprise_info
 * 
 * @author zehong
 * @date 2022-06-23
 */
public class TEnterpriseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 社会统一信用代码 */
    @Excel(name = "社会统一信用代码")
    private String orgCode;

    /** 生产经营地址 */
    @Excel(name = "生产经营地址")
    private String runAddress;

    /** 注册地址 */
    @Excel(name = "注册地址")
    private String regAddress;

    /** 安全监管分类 */
    @Excel(name = "安全监管分类")
    private String regulationType;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date regDate;

    /** 营业期限 */
    @Excel(name = "营业期限")
    private String businessTerm;

53 54 55 56
    /** 值班电话 */
    @Excel(name = "值班电话")
    private String dutyPhone;

耿迪迪's avatar
耿迪迪 committed
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 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298
    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

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

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String businessScope;

    /** 从业人员数量 */
    @Excel(name = "从业人员数量")
    private String employeeNum;

    /** 法定代表人 */
    @Excel(name = "法定代表人")
    private String legalPerson;

    /** 法定代表人手机 */
    @Excel(name = "法定代表人手机")
    private String legalPersonPhone;

    /** 主要负责人 */
    @Excel(name = "主要负责人")
    private String keyPerson;

    /** 主要负责人手机 */
    @Excel(name = "主要负责人手机")
    private String keyPersonPhone;

    /** 安全负责人 */
    @Excel(name = "安全负责人")
    private String safetyPerson;

    /** 安全负责人手机 */
    @Excel(name = "安全负责人手机")
    private String safetyPersonPhone;

    /** 创建人id */
    @Excel(name = "创建人id")
    private String createUserId;

    /** 更新人id */
    @Excel(name = "更新人id")
    private String updateUserId;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

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

    public Long getId() 
    {
        return id;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

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

    public String getOrgCode() 
    {
        return orgCode;
    }
    public void setRunAddress(String runAddress) 
    {
        this.runAddress = runAddress;
    }

    public String getRunAddress() 
    {
        return runAddress;
    }
    public void setRegAddress(String regAddress) 
    {
        this.regAddress = regAddress;
    }

    public String getRegAddress() 
    {
        return regAddress;
    }
    public void setRegulationType(String regulationType) 
    {
        this.regulationType = regulationType;
    }

    public String getRegulationType() 
    {
        return regulationType;
    }
    public void setRegDate(Date regDate) 
    {
        this.regDate = regDate;
    }

    public Date getRegDate() 
    {
        return regDate;
    }
    public void setBusinessTerm(String businessTerm) 
    {
        this.businessTerm = businessTerm;
    }

    public String getBusinessTerm() 
    {
        return businessTerm;
    }
    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 void setBusinessScope(String businessScope) 
    {
        this.businessScope = businessScope;
    }

    public String getBusinessScope() 
    {
        return businessScope;
    }
    public void setEmployeeNum(String employeeNum) 
    {
        this.employeeNum = employeeNum;
    }

    public String getEmployeeNum() 
    {
        return employeeNum;
    }
    public void setLegalPerson(String legalPerson) 
    {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson() 
    {
        return legalPerson;
    }
    public void setLegalPersonPhone(String legalPersonPhone) 
    {
        this.legalPersonPhone = legalPersonPhone;
    }

    public String getLegalPersonPhone() 
    {
        return legalPersonPhone;
    }
    public void setKeyPerson(String keyPerson) 
    {
        this.keyPerson = keyPerson;
    }

    public String getKeyPerson() 
    {
        return keyPerson;
    }
    public void setKeyPersonPhone(String keyPersonPhone) 
    {
        this.keyPersonPhone = keyPersonPhone;
    }

    public String getKeyPersonPhone() 
    {
        return keyPersonPhone;
    }
    public void setSafetyPerson(String safetyPerson) 
    {
        this.safetyPerson = safetyPerson;
    }

    public String getSafetyPerson() 
    {
        return safetyPerson;
    }
    public void setSafetyPersonPhone(String safetyPersonPhone) 
    {
        this.safetyPersonPhone = safetyPersonPhone;
    }

    public String getSafetyPersonPhone() 
    {
        return safetyPersonPhone;
    }
    public void setCreateUserId(String createUserId) 
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId() 
    {
        return createUserId;
    }
    public void setUpdateUserId(String updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId() 
    {
        return updateUserId;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

299 300 301 302 303 304 305 306
    public String getDutyPhone() {
        return dutyPhone;
    }

    public void setDutyPhone(String dutyPhone) {
        this.dutyPhone = dutyPhone;
    }

耿迪迪's avatar
耿迪迪 committed
307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unitName", getUnitName())
            .append("orgCode", getOrgCode())
            .append("runAddress", getRunAddress())
            .append("regAddress", getRegAddress())
            .append("regulationType", getRegulationType())
            .append("regDate", getRegDate())
            .append("businessTerm", getBusinessTerm())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("businessScope", getBusinessScope())
            .append("employeeNum", getEmployeeNum())
            .append("legalPerson", getLegalPerson())
            .append("legalPersonPhone", getLegalPersonPhone())
            .append("keyPerson", getKeyPerson())
            .append("keyPersonPhone", getKeyPersonPhone())
            .append("safetyPerson", getSafetyPerson())
            .append("safetyPersonPhone", getSafetyPersonPhone())
            .append("createUserId", getCreateUserId())
            .append("updateUserId", getUpdateUserId())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("remarks", getRemarks())
            .toString();
    }
}