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;

@Data
@ApiModel(value = "服务登记验证", description = "服务登记验证")
public class ServeRegisterVo {

    @ApiModelProperty(value = "登记记录id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long id;

    @ApiModelProperty(value = "微信人员电话")
    private String wechatUserPhone;

    @ApiModelProperty(value = "企业id")
    private Long companyId;

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

    @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 = "服务事项")
    private String serviceModel;

    @ApiModelProperty(value = "服务有效期")
    private String serviceExpire;

    @ApiModelProperty(value = "登记附件")
    private String settleFile;

//    public SaasCompanyParkServe toCompanyServe(){
//        SaasCompanyParkServe serve=new SaasCompanyParkServe();
//        BeanUtils.copyProperties(this,serve);
//        return serve;
//    }
//
//    public SaasCompanyCertification toCompanyCertification(){
//        SaasCompanyCertification certification=new SaasCompanyCertification();
//        BeanUtils.copyProperties(this,certification);
//        return certification;
//    }
}
