package com.emr.vo.commomSearch;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @ProjectName:
 * @Description:
 * @Param 传输参数
 * @Return
 * @Author: 曾文和
 * @CreateDate: 2020/6/10 9:36
 * @UpdateUser: 曾文和
 * @UpdateDate: 2020/6/10 9:36
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Data
public class CommomBlood {
    private String patientId;

    @NotBlank(message = "脐血编号不能为空")
    @Length(max = 15,message = "字符不能超过15个字符")
    private String inpatientNo;//脐血编号

    @NotBlank(message = "产妇姓名不能为空")
    @Length(max = 30,message = "字符不能超过30个字符")
    private String name;//产妇姓名

    @Length(max = 15,message = "字符不能超过15个字符")
    private String admissId;//协议号

    @Length(max = 25,message = "字符不能超过25个字符")
    private String mainDiagCode;//主要诊断编码

    @Length(max = 100,message = "字符不能超过100个字符")
    private String mainDiagName;//主要诊断名称

    @Length(max = 25,message = "字符不能超过25个字符")
    private String mainDisThing;//主要诊断转归情况
}
