package com.kcim.dao.model.dto;

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

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("登录相关dto参数")
public class LoginDTO {

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

    @ApiModelProperty(name = "password", value = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(name = "hospSign", value = "医院标识")
//    @NotBlank(message = "医院标识不为空")
    private String hospSign ;

    @ApiModelProperty(name = "id",value = "分院id(可能不存在)")
    private Long id;
}
