package com.ytpm.middle.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("企业数据表单")
public class AgentForm extends AgentBaseInfoParam {

    @ApiModelProperty("企业ID")
    private int enterpriseId;
    /** 企业信用代码 */
    @NotBlank(message = "企业信用代码不能为空")
    @ApiModelProperty(value = "企业信用代码", required = true)
    private String creditCode;
    /** 营业执照副本 */
    @ApiModelProperty(value = "营业执照副本",required = true)
    private String businessLicence;
    /** 法人 */
    @ApiModelProperty(value = "法人",required = true)
    private String legal;
    /** 法人证件号 */
    @ApiModelProperty(value = "法人证件号",required = true)
    private String legalCard;
    /** 法人联系方式 */
    @NotBlank(message = "法人联系方式不能为空")
    @ApiModelProperty(value = "法人联系方式", required = true)
    private String concatPhone;
    /** 注册地址 */
    @ApiModelProperty("注册地址")
    private String registryAddress;
    /** 登录账号 */
    @ApiModelProperty(value = "登录账号",required = true)
    private String loginName;
    /** 账号类型 */
    @ApiModelProperty("账号类型")
    private Integer userType;
    /** taku公钥 */
    @ApiModelProperty("taku公钥")
    private String takuPublicKey;
    /** 企业类型 1-直营 2-分销 */
    @ApiModelProperty("企业类型 1-直营 2-分销")
    private Integer enterpriseType;
    @ApiModelProperty("是否加急")
    private int hasFast;
}
