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;


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


    @NotNull
    @ApiModelProperty(value = "id")
    private Long id;

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

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


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

    @NotBlank
    @ApiModelProperty(value = "组织规模")
    private String organScope;


    /**
     * 省
     */
    @ApiModelProperty(value = "省")
    private String provinceCode;

    /**
     * 市
     */
    @ApiModelProperty(value = "市")
    private String cityCode;

    /**
     * 区/县
     */
    @ApiModelProperty(value = "区/县")
    private String countyCode;

    @ApiModelProperty(value = "详细地址")
    private String address;


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

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

    @ApiModelProperty(value = "客服手机")
    private String customerPhone;

    @ApiModelProperty(value = "简介")
    private String intro;

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

    @ApiModelProperty(value = "证件类型")
//    @NotNull(message="证件类型不能空")
    private Integer documentType;

    @ApiModelProperty(value = "证件号码")
//    @NotBlank(message="证件号码不能空")
    private String documentNumber;

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