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.dto
 * @date 2021-07-26 16:09
 */

/**
 * 需要补充 TODO 那些不能为空
 */
@Data
@ApiModel("操作院区参数dto参数")
public class HospitalDto {

    @ApiModelProperty(name = "id",value = "医院或者病区Id")
    @NotNull(message = "医院/病区的id ")
    private Long id;

    @ApiModelProperty(name = "name",value = "医院或院区名称")
    @NotNull(message = "医院/病区的名称不能为空")
    private String name;

    @ApiModelProperty(name = "is_hospital",value = "是否为院区（0.不是，1.是）默认为0")
    @NotNull(message = "是否为院区状态不能为空")
    private Integer isHospital;

    @ApiModelProperty(name = "parentId",value = "如果是院区医院的名称，默认为")
    private Long parentId;

    @ApiModelProperty(name = "parentName",value = "医院唯一标识，院区不存在次内容")
    private String parentName;
}
