package thyyxxk.webserver.entity.zhuyuanyisheng.patientClinicalPathway.req;

import lombok.Data;

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

@Data
public class ExitClinicalPathwayReq {

    @NotNull(message = "住院号不能为空")
    @NotBlank(message = "住院号不能为空")
    private String patNo;

    @NotNull(message = "住院次数不能为空")
    @Min(value = 1, message = "住院次数最小为1")
    private Integer times;

    @NotNull(message = "状态不能为空")
    private Integer state;

    @NotNull(message = "原因不能为空")
    @NotBlank(message = "原因不能为空")
    private String reason;
}
