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

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel(value = "入驻登记列表")
public class SaasCompanyParkSettleListVo {
    @ApiModelProperty(value = "企业登记记录id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long id;
    @ApiModelProperty(value = "企业id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long saasCompanyId;
    @ApiModelProperty(value = "公司名称")
    private String companyName;
    @ApiModelProperty(value = "所属行业")
    private String companyTrade;
    @ApiModelProperty(value = "所属行业")
    private String companyTradeName;
    @ApiModelProperty(value = "企业规模")
    private String companyScope;
    @ApiModelProperty(value = "企业规模")
    private String companyScopeName;
    @ApiModelProperty(value = "联系人")
    private String linkMan;
    @ApiModelProperty(value = "联系手机")
    private String phone;
    @ApiModelProperty(value = "认证状态")
    private Integer cerStatus;
    @ApiModelProperty(value = "证件类型")
    private Integer creditType;
    @ApiModelProperty(value = "证件信息")
    private String creditCode;
    @ApiModelProperty(value = "认证有效期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date cerEffectiveTime;
    @ApiModelProperty(value = "法人")
    private String legalPerson;
    @ApiModelProperty(value = "入驻时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date settleTime;
    @ApiModelProperty(value = "入驻地址")
    private String settleAddress;
    @ApiModelProperty(value = "入驻有效期开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date settleEffectiveTimeStart;
    @ApiModelProperty(value = "入驻有效期结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date settleEffectiveTimeEnd;
    @ApiModelProperty(value = "入驻面积")
    private String settleArea;
    @ApiModelProperty(value = "入驻状态")
    private Integer settleStatus;
    @ApiModelProperty(value = "审核状态")
    private Integer status;

    @ApiModelProperty(value = "园区")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long parkId;
    @ApiModelProperty(value = "登记时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "申请材料")
    private String settleFile;
    @ApiModelProperty(value = "企业类型1:内部企业，2：入驻企业")
    private Integer type;
    @ApiModelProperty(value = "来源")
    private Integer source;

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

    @ApiModelProperty(value = "已登记成员数")
    private Integer staffs;
    @ApiModelProperty(value = "已登记车辆数")
    private Integer cars;
    @ApiModelProperty(value = "使用车位数")
    private Integer parkingPlaces;
    @ApiModelProperty(value = "关联子公司数")
    private Integer childCompanys;
}
