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 = "企业入驻信息", description = "企业入驻信息")
public class CompanyParkSettleVo {
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    @ApiModelProperty(value = "企业用户id")
    private Long saasCompanyId;

    /**
     * 以下是认证信息
     */

//    @ApiModelProperty(value = "机构名称")
//    private String organName;
//    @ApiModelProperty(value = "统一信用代码")
//    private String creditCode;
//    @ApiModelProperty(value = "机构类型")
//    private String organType;
//    @ApiModelProperty(value = "法人代表")
//    private String legalPerson;

    /**
     * 以下是入驻信息
     */
    @ApiModelProperty(value = "园区id")
    private Long parkId;
    @ApiModelProperty(value = "入驻时间yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date settleTime;
    @ApiModelProperty(value = "入驻地址")
    private String settleAddress;
    @ApiModelProperty(value = "登记附件")
    private String settleFile;
    @ApiModelProperty(value = "企业类型 默认2：入驻企业")
    private Integer type=2;

}
