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

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 javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "企业认证验证", description = "企业认证验证")
public class SaasCompanyCertificationVo {
    @ApiModelProperty(value = "企业用户id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    @NotNull(message = "企业用户id不能为空")
    private Long saasCompanyId;

    @ApiModelProperty(value = "机构名称")
    @NotNull(message = "机构名称不能为空")
    private String organName;

    @ApiModelProperty(value = "统一信用代码")
    @NotNull(message = "统一信用代码不能为空")
    private String creditCode;

    @ApiModelProperty(value = "机构类型")
    @NotNull(message = "机构类型不能为空")
    private String organType;

    @ApiModelProperty(value = "法人")
    @NotNull(message = "法定代表人不能为空")
    private String legalPerson;

}
