package com.sqx.modules.resumes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sqx.modules.app.entity.UserEntity;
import com.sqx.modules.firstLogin.entity.HrEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author fang
 * @description company
 * @date 2022-08-03
 */
@Data
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 公司认证信息id
     */
    @TableId(type = IdType.AUTO)
    private Long companyId;

    /**
     * 企业名称
     */
    private String companyName;

    /**
     * 企业税号
     */
    private String companyDutyParagraph;

    /**
     * 企业地址
     */
    private String companyAddress;

    /**
     * 企业经营范围
     */
    private String companyScope;

    /**
     * 企业法人
     */
    private String companyLegalPerson;

    /**
     * 注册资金
     */
    private String companyRegisteredFund;

    /**
     * 企业注册时间
     */
    private String companyCreateTime;

    /**
     * 企业 介绍
     */
    private String companyDetails;
    /**
     * 公司规模(字典)
     */
    private String companyPeople;

    /**
     * 企业logo
     */
    private String companyLogo;

    /**
     * 企业资质
     */
    private String companyCertification;

    /**
     * 企业证书
     */
    private String companyCertificate;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 状态 1待审核 2正常 3拒绝
     */
    private Integer status;

    private String auditContent;

    /**
     * 更新时间
     */
    private String updateTime;

    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 经度
     */
    private double companyLng;
    /**
     * 纬度
     */
    private double companyLat;

    /**
     * 企业介绍
     */
    private String companyContent;

    /**
     * 省份
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String district;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String phone;
    @TableField(exist = false)
    private Double distance;
    private String email;

    /**
     * 公司招聘岗位列表
     */
    @TableField(exist = false)
    Object postPushList;

    private String companyAllName;
    private String addressDetail;
    private String companyDevelop;
    private String workTime;
    private String workRestTime;
    private String workOverTime;
    private String Welfare;
    private String companyPeopleDevelop;
    private String photos;
    private String workDescribe;
    private Integer isUse;

    @TableField(exist = false)
    private  List<HrEntity> hr;
    @TableField(exist = false)
    private List<UserEntity> userEntities;
    @TableField(exist = false)
    private String message;
    public Company() {
    }
}
