package com.zcloud.zcGbsServicer.dto;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
public class FireBrigadeMemberAddCmd extends Command {

    @NotNull
    @ApiModelProperty("消防队伍ID")
    private Long fireBrigadeId;

    @ApiModelProperty("用户ID")
    private String userId;

    @NotBlank
    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("身份证号")
    private String idNo;

    @NotBlank
    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("职务ID")
    private String dutyId;

    @ApiModelProperty("职务名称")
    @JsonAlias("dutyName")
    private String duty;

    @ApiModelProperty("机构ID")
    private String corpId;

    @ApiModelProperty("机构名称")
    @JsonAlias("orgName")
    private String org;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("角色编码")
    private Integer roleCode;
}
