package org.dromara.web.domain.bo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;
@Data
@EqualsAndHashCode(callSuper = true)
public class HospitalRecordBo extends BaseEntity {
    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 患者id
     */
    @NotNull(message = "患者id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long patientId;

    /**
     * 看诊类型
     */
    private String type;

    /**
     * 门诊号
     */
    private String outpatientNo;

    /**
     * 科室
     */
    private Long deptId;

    private List<Date> dateRange;

}
