package com.codvision.basic.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author codvision
 */
@Data
@ApiModel
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tbl_enterprise")
public class Enterprise implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty("企业类型(字典：ENTERPRISE_TYPE)")
    private String enterpriseType;

    @ApiModelProperty("登记机关(字典：ENTERPRISE_REGISTRATION_AUTHORITY)")
    private String registrationAuthority;

    @ApiModelProperty("区县")
    private String county;

    @ApiModelProperty("网格编码")
    private String gridCode;

    @ApiModelProperty("经营异常行为(字典：BUSINESS_ABNORMAL_BEHAVIOR)")
    private String businessAbnormalBehavior;

    @ApiModelProperty("统一社会信用代码")
    private String creditCode;

    @ApiModelProperty("纬度")
    private String lat;

    @ApiModelProperty("行政处罚机关(字典：ENTERPRISE_ADMINISTRATIVE_PENALTY_AUTHORITY)")
    private String administrativePenaltyAuthority;

    @TableLogic
    @ApiModelProperty("删除标记,1:已删除,0:正常")
    private Integer delFlag;

    @ApiModelProperty("核准日期")
    private String approvalDate;

    @ApiModelProperty("镇街")
    private String town;

    @ApiModelProperty("经度")
    private String lng;

    @ApiModelProperty("经营状态(字典：BUSINESS_STATUS)")
    private String businessStatus;

    @ApiModelProperty("社区")
    private String community;

    @ApiModelProperty("伤亡人数")
    private String casualties;

    @ApiModelProperty("成立日期")
    private String establishmentDate;

    @ApiModelProperty("严重违法失信行为(字典：ILLEGALITY_DISHONESTY_BEHAVIOR)")
    private String illegalityDishonestyBehavior;

    @ApiModelProperty("经营范围")
    private String businessScope;

    @ApiModelProperty("经营场所")
    private String businessPlace;

    @ApiModelProperty("是否为消防安全重点单位")
    private String flagFireSafety;

    @ApiModelProperty("企业名称")
    private String name;

    @ApiModelProperty("列入拖欠农民工工资黑名单日期")
    private String wageArrearsDate;

    @ApiModelProperty("注册资本币种")
    private String registeredCurrency;

    @ApiModelProperty("经营截至日期")
    private String businessEndDate;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty("经营起始日期")
    private String businessStartDate;

    @ApiModelProperty("行政处罚种类(字典：ENTERPRISE_ADMINISTRATIVE_PENALTY_TYPE)")
    private String administrativePenaltyType;

    @ApiModelProperty("是否列入严重违法失信名单(黑名单)")
    private String flagIllegalityDishonesty;

    @ApiModelProperty("法定代表人联系方式")
    private String legalPersonPhone;

    @ApiModelProperty("行业类型(字典：INDUSTRY_TYPE)")
    private String industryType;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("组织id")
    private Integer oid;

    @ApiModelProperty("个体工商户组成形式(字典：INDIVIDUAL_BUSINESS_COMPOSE)")
    private String individualBusinessCompose;

    @ApiModelProperty("列入异常名录时间")
    private String businessAbnormalDate;

    @ApiModelProperty("是否发生生产安全事故")
    private String flagProductionSafety;

    @ApiModelProperty("法定代表人证件类型(字典：ID_TYPE）")
    private String legalPersonIdType;

    @ApiModelProperty("是否列入拖欠农民工工资黑名单")
    private String flagWageArrears;

    @ApiModelProperty("是否为应急管理重点单位")
    private String flagContingencyManagement;

    @ApiModelProperty("是否列入经营异常名录")
    private String flagBusinessAbnormal;

    @ApiModelProperty("企业标签(其他信息)")
    private String enterpriseTags;

    @ApiModelProperty("统一地址代码")
    private String addressCode;

    @ApiModelProperty("列入严重违法失信名单日期")
    private String illegalityDishonestyDate;

    @ApiModelProperty("统一地址")
    private String sourceAddress;

    @ApiModelProperty("生产安全发生日期")
    private String productionSafetyDate;

    @ApiModelProperty("是否收到行政处罚决定")
    private String flagAdministrativePenalty;

    @ApiModelProperty("注册资本(万元)")
    private String registeredCapital;

    @ApiModelProperty("法定代表人证件号码")
    private String legalPersonIdCard;

    @ApiModelProperty("是否为交通运输重点单位")
    private String flagTransportation;

    @ApiModelProperty("行政处罚日期")
    private String administrativePenaltyDate;

    @ApiModelProperty("网格")
    private String grid;

    @ApiModelProperty("法定代表人姓名")
    private String legalPersonName;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}