package com.yuchen.saas.manage.user.api.vo.sasscompany;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 宋少挺
 */
@Data
@ApiModel(value = "PC添加企业实体类", description = "PC添加企业实体类")
public class AddCompanyPcVo {

    @ApiModelProperty(value = "企业id 新增不传，编辑必传")
    private Long id;
    @ApiModelProperty(value = "企业名称")
    @NotBlank(message = "企业名称不能为空")
    @Size(min = 1, max = 100, message = "企业名称不能超过100个字")
    private String companyName;
    @ApiModelProperty(value = "企业法人")
    private String legalPerson;
    @ApiModelProperty(value = "所属行业")
    @NotBlank(message = "所属行业不能为空")
    private String companyTrade;
    @ApiModelProperty(value = "企业规模")
    private String companyScope;
    @ApiModelProperty(value = "统一信用代码")
    private String creditCode;
    @ApiModelProperty(value = "父企业id")
    private Long parentId;

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

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

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

    @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  detailAddress;

    @ApiModelProperty(value = "园区id")
    @NotNull(message = "请选择园区")
    private Long parkId;

}
