package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 公司对象 company
 * @author lishundong
 * @date 2024-09-04
 */
@Data
@ApiModel("公司")
@TableName(value = "company")
public class Company extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "company_id",type = IdType.AUTO)
    @ApiModelProperty("公司id")
    private Long companyId;

    @Excel(name = "单位名称")
    @ApiModelProperty("单位名称")
    private String name;

    @Excel(name = "单位地点")
    @ApiModelProperty("单位地点")
    private String location;

    @Excel(name = "主要行业")
    @ApiModelProperty("主要行业")
    private String industry;

    @Excel(name = "单位规模 对应字典scale")
    @ApiModelProperty("单位规模 对应字典scale")
    private String scale;

    @Excel(name = "信用代码")
    @ApiModelProperty("信用代码")
    private String code;

    @Excel(name = "单位介绍")
    @ApiModelProperty("单位介绍")
    private String description;

    @Excel(name = "性质-已改为企业类型")
    @ApiModelProperty("性质")
    private String nature;

    @ApiModelProperty("招聘数量")
    private Integer totalRecruitment;

    @TableField(exist = false)
    @ApiModelProperty("是否收藏")
    private Integer isCollection;

    @ApiModelProperty("所属用户id")
    private Long userId;

    @ApiModelProperty("营业执照Url")
    private String businessLicenseUrl;

    @ApiModelProperty("法人身份证复印件-正面")
    private String idCardPictureUrl;

    @ApiModelProperty("法人身份证复印件-反面")
    private String idCardPictureBackUrl;

    @ApiModelProperty("授权代理书")
    private String powerOfAttorneyUrl;

    @ApiModelProperty("联系人")
    private String contactPerson;

    @ApiModelProperty("联系人电话")
    private String contactPersonPhone;

    @ApiModelProperty("审核状态 0审核中 1审核通过 2审核未通过")
    private Integer status;

    @ApiModelProperty("审核未通过原因")
    private String notPassReason;

//    @TableField(exist = false)
//    @ApiModelProperty("qiye")
//    private Integer isCollection;

    @TableField(exist = false)
    @ApiModelProperty("企业联系人列表")
    private List<CompanyContact> companyContactList;

    @ApiModelProperty("注册地址")
    private String registeredAddress;

    @ApiModelProperty("是否异常")
    private String isAbnormal;

    @TableField(exist = false)
    @ApiModelProperty("驳回时间")
    private String rejectTime;

    @ApiModelProperty("是否本地重点企业")
    private String isImpCompany;

    @ApiModelProperty("本地重点发展产业")
    private String impCompanyType;

    @ApiModelProperty("是否是就业见习基地 0是 1否")
    private String enterpriseType;

    @ApiModelProperty("法人姓名")
    private String legalPerson;

    @ApiModelProperty("法人身份证")
    private String legalIdCard;

    @ApiModelProperty("法人联系方式")
    private String legalPhone;

    @ApiModelProperty("所属行政区划")
    private String regionCode;

    @ApiModelProperty("所属行政区划名称")
    private String regionName;

    @ApiModelProperty("行业code")
    private String industryCode;

    /**
     * 岗位列表
     */
    @TableField(exist = false)
    private List<JobDTO> jobList;
}
