package com.kcim.dao.model.dto;

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

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

/**
 * @author 李加喜
 * @Package com.imed.costaccount.model.dto
 * @date 2021-07-26 11:41
 */
@Data
@ApiModel("操作用户相关参数dto参数")
public class UserDto {
    @ApiModelProperty(name = "id", value = "编号")
    private Long id;

    @ApiModelProperty(name = "name", value = "姓名")
    @NotBlank(message = "姓名")
    private String name;

    @ApiModelProperty(name = "account", value = "账户")
    @NotBlank(message = "账号不能为空")
    private String account;

    @ApiModelProperty(name = "password", value = "密码")
    private String password;

    @ApiModelProperty(name = "hospId", value = "医院Id")
    private Long hospId;

    @ApiModelProperty(name = "hospitalStatus", value = "在院状态")
    @NotNull(message = "在院状态不能为空")
    private Integer hospitalStatus;
}
