package com.kcim.dao.model.dto;

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

import javax.validation.constraints.NotNull;

/**
 * @author 李加喜
 * @Package com.imed.costaccount.model.request
 * @date 2021-07-27 10:07
 */
@Data
@ApiModel("科室信息保存request参数")
public class DepartmentRequest {

    @ApiModelProperty(name = "id",value = "科室的Id")
    private Long id;

    @ApiModelProperty(name = "departmentName",value = "科室的名称")
    @NotNull(message = "科室名称不能为空")
    private String departmentName;

    @ApiModelProperty(name = "departmentCode",value = "科室的代码")
    @NotNull(message = "科室代码不能为空")
    private String departmentCode;

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