package com.nantian.cloud.dbcapp.carbon.domain.carbonDetection;

import com.alibaba.excel.metadata.BaseRowModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 企业基本信息表
 * </p>
 *
 * @author wujing
 * @since 2022-07-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table(name = "ENTERPRISE")
@ApiModel(value="Erprise对象", description="企业基本信息表")
public class Erprise extends BaseRowModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "企业名称")
    @Column(name = "ENTERPRISE_NAME")
    private String enterpriseName;

    @ApiModelProperty(value = "企业编码")
    @Column(name = "ENTERPRISE_CODE")
    private String enterpriseCode;

    @ApiModelProperty(value = "企业单位性质（营业执照）")
    @Column(name = "ENTERPRISE_TYPE")
    private String enterpriseType;

    @ApiModelProperty(value = "法定代表人姓名")
    @Column(name = "LEGAL_PERSON")
    private String legalPerson;

    @ApiModelProperty(value = "注册日期")
    @Column(name = "REGISTE_DATE")
    private String registeDate;

    @ApiModelProperty(value = "注册资本（万元人民币）")
    @Column(name = "REGISTE_MONEY")
    private String registeMoney;

    @ApiModelProperty(value = "注册地址")
    @Column(name = "REGISTE_ADDRESS")
    private String registeAddress;

    @ApiModelProperty(value = "生产经营场所地址及邮政编码")
    @Column(name = "PRODUCE_ADDRESS")
    private String produceAddress;

    @ApiModelProperty(value = "邮政编码")
    @Column(name = "POSTAL")
    private String postal;

    @ApiModelProperty(value = "发电设施经纬度")
    @Column(name = "POSITION")
    private String position;

    @ApiModelProperty(value = "经度")
    @Column(name = "LONGITUDE")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    @Column(name = "LATITUDE")
    private String latitude;

    @ApiModelProperty(value = "联系人")
    @Column(name = "OWNER_NAME")
    private String ownerName;

    @ApiModelProperty(value = "联系电话")
    @Column(name = "OWNER_PHONE")
    private String ownerPhone;

    @ApiModelProperty(value = "电子邮箱")
    @Column(name = "OWNER_EMAIL")
    private String ownerEmail;

    @ApiModelProperty(value = "区域名称")
    @Column(name = "REGION_NAME")
    private String regionName;

    @ApiModelProperty(value = "行业名称")
    @Column(name = "INDUSTRY_NAME")
    private String industryName;

    @ApiModelProperty(value = "行业编码")
    @Column(name = "INDUSTRY_CODE")
    private String industryCode;

    @ApiModelProperty(value = "备注")
    @Column(name = "REMARK")
    private String remark;

    @ApiModelProperty(value = "区域编码")
    @Column(name = "REGION_CODE")
    private BigDecimal regionCode;

    @ApiModelProperty(value = "更新时间")
    @Column(name = "UPDATE_DATE")
    private Date updateDate;


    public static final String ENTERPRISE_NAME = "ENTERPRISE_NAME";

    public static final String ENTERPRISE_CODE = "ENTERPRISE_CODE";

    public static final String ENTERPRISE_TYPE = "ENTERPRISE_TYPE";

    public static final String LEGAL_PERSON = "LEGAL_PERSON";

    public static final String REGISTE_DATE = "REGISTE_DATE";

    public static final String REGISTE_MONEY = "REGISTE_MONEY";

    public static final String REGISTE_ADDRESS = "REGISTE_ADDRESS";

    public static final String PRODUCE_ADDRESS = "PRODUCE_ADDRESS";

    public static final String POSTAL = "POSTAL";

    public static final String POSITION = "POSITION";

    public static final String LONGITUDE = "LONGITUDE";

    public static final String LATITUDE = "LATITUDE";

    public static final String OWNER_NAME = "OWNER_NAME";

    public static final String OWNER_PHONE = "OWNER_PHONE";

    public static final String OWNER_EMAIL = "OWNER_EMAIL";

    public static final String REGION_NAME = "REGION_NAME";

    public static final String INDUSTRY_NAME = "INDUSTRY_NAME";

    public static final String INDUSTRY_CODE = "INDUSTRY_CODE";

    public static final String REMARK = "REMARK";

    public static final String BLOWOFF_TARGET = "REGION_CODE";

    public static final String UPDATE_DATE = "UPDATE_DATE";

}
