package com.yuchen.saas.park.api.entity.park;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.thinkunion.park.service.common.entity.BasicEntity;
import com.thinkunion.park.service.common.entity.ParkEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * @author 刘通
 * @date 2021/1/1 15:45
 */
@Data
@TableName("pmg_bat_park_company")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "company对象", description = "company表")
public class PmgBatParkCompany extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @JsonSerialize(
            using = ToStringSerializer.class
    )
    @ApiModelProperty("父id")
    private Long parentId;

    /**
     * 企业名称
     */
    @ApiModelProperty(value = "企业名称")
    private String companyName;

    /**
     * 企业法人
     */
    @ApiModelProperty(value = "企业法人")
    private String legalPerson ;

    /**
     * 企业联系人
     */
    @ApiModelProperty(value = "企业联系人")
    private String linkMan;

    /**
     * 企业联系人手机
     */
    @ApiModelProperty(value = "企业联系人手机")
    private String phone;

    /**
     * 楼栋ID
     */
    @ApiModelProperty(value = "楼栋ID")
    private Long buildingId;

    /**
     * 楼层ID
     */
    @ApiModelProperty(value = "楼层ID")
    private Long floorId;

    /**
     * 公司地址
     */
    @ApiModelProperty(value = "公司地址")
    private String  address;

    /**
     * 入驻时间
     */
    @ApiModelProperty(value = "入驻时间")
    private Long  signTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String   remark;

    @ApiModelProperty(value = "所属行业")
    private String  companyTrade;

    @ApiModelProperty(value = "企业规模")
    private String  companyScope;

    @ApiModelProperty(value = "邮箱")
    private String  email;
    @ApiModelProperty(value = "省")
    private String  province;
    @ApiModelProperty(value = "省名称")
    private String  provinceName;
    @ApiModelProperty(value = "市")
    private String  city;
    @ApiModelProperty(value = "市名称")
    private String  cityName;
    @ApiModelProperty(value = "区/县")
    private String  county;
    @ApiModelProperty(value = "区/县名称")
    private String  countyName;
    @ApiModelProperty(value = "镇/街道")
    private String  town;
    @ApiModelProperty(value = "镇/街道名称")
    private String  townName;
    @ApiModelProperty(value = "详细地址")
    private String  detailAddress;
    @ApiModelProperty(value = "注册来源 1:小程序")
    private Integer  source;
    @ApiModelProperty(value = "企业类型")
    private Integer  type;
    @ApiModelProperty(value = "员工人数")
    private Integer  staffs;

    @ApiModelProperty(value = "入驻时间")
    private Date settleTime;
    @ApiModelProperty(value = "入驻附件")
    private String settleFile;
    @ApiModelProperty(value = "入驻面积")
    private String settleArea;
    @ApiModelProperty(value = "入驻有效期开始")
    private Date settleEffectiveTimeStart;
    @ApiModelProperty(value = "入驻有效期结束")
    private Date settleEffectiveTimeEnd;

    @ApiModelProperty(value = "统一信用代码")
    private String creditCode;
    @ApiModelProperty(value = "证件类型")
    private Integer creditType;

    @ApiModelProperty(value = "是否入驻, 0:未知、1:未入住、2:已入驻")
    private Integer settleState;
}
