package com.yuchen.saas.manage.system.api.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;


@Data
@ApiModel(value = "Dept新增")
public class DeptAddParam  {

    private String id;

    @NotBlank
    @ApiModelProperty("租户ID")
    private String tenantId;

    @NotBlank
    @ApiModelProperty(value = "机构名")
    private String deptName;

    /**
     * 机构类型
     */
    @NotBlank
    @ApiModelProperty(value = "机构类型()")
    private String organType;

    /**
     * 统一信用代码
     */
    @NotBlank
    @Size(max = 18,min=18)
    @ApiModelProperty(value = "统一信用代码")
    private String creditCode;

    /**
     * 法人
     */
    @NotBlank
    @ApiModelProperty(value = "法人")
    private String legalPerson;

    /**
     * 所属行业
     */
    @NotBlank
    @ApiModelProperty(value = "所属行业")
    private String organTrade;

    @NotBlank
    @ApiModelProperty(value = "主管理员名字")
    private String orgUserName;

    /**
     * 营业执照
     */
    @NotBlank
    @ApiModelProperty(value = "营业执照")
    private String businessFile;


    /**
     * 绑定手机
     */
    @NotBlank
    @ApiModelProperty(value = "绑定手机")
    private String phone;

    @NotNull
    @ApiModelProperty(value = "申请来源 1火炬管委会SAAS后台 2 火炬管委会小程序")
    private Integer applySource;
}
