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 java.util.Date;


@Data
@ApiModel(value = "OrgUserApply申请")
public class OrgUserApplyAddWayParam {





    @ApiModelProperty(value = "申请理由")
    private String reason;

    /**
     * 真实姓名
     */
    @NotBlank
    @ApiModelProperty(value = "真实姓名")
    private String name;
    @NotBlank
    @ApiModelProperty(value = "邀请码")
    private String inviteCode;
    @NotNull
    @ApiModelProperty(value = "来源组织id(外部成员来源组织id可能也会为空)")
    private Long sourceDeptId;

    @ApiModelProperty(value = "来源组织名称")
    private String sourceDeptName;

    @ApiModelProperty(value = "来源组织成员id(外部成员来源组织成员id可能也会为空)")
    private Long sourceOrgUserId;

    @ApiModelProperty(name = "isShowName", value = "外部组织名称(可以直接输名称,不存在组织id)")
    private Integer isShowName;

    @ApiModelProperty(name = "isShowEmail", value = "是否展示邮箱(外部组织0不展示,1展示)")
    private Integer isShowEmail;

    @ApiModelProperty(name = "isShowPhone", value = "是否展示手机号(外部组织0不展示,1展示)")
    private Integer isShowPhone;

    @ApiModelProperty(name = "isShowDept", value = "是否展示部门(外部组织0不展示,1展示)")
    private Integer isShowDept;

    @ApiModelProperty(name = "isShowPosition", value = "是否展示职位(外部组织0不展示,1展示)")
    private Integer isShowPosition;
}
