package thyyxxk.webserver.entity.zhuyuanyisheng.jianyanjiancha.dto;

import lombok.Data;

import java.util.List;

@Data
public class JyJcCheckItemDto {
    private String code;
    private String name;
    private Integer genderRestriction;
    private Integer maxAgeRestriction;
    private Integer minAgeRestriction;
    /**
     * 判断条件是 当前数量 大于 a 》limitTimes就不收费了
     */
    private Integer limitTimes;
    private String orderType;

    /**
     * 现在是检查表才有的，如果医生选了加收的话，就需要收这个费用
     */
    private String surcharge;
    private String surchargeName;

    private Boolean delFlag;
    private Boolean zyFlag;

    private List<ItemInfo> itemInfoList;

    /**
     * 一个检查项目对应一个医嘱，一个医嘱对应多个项目
     */
    @Data
    public static class ItemInfo {
        private String code;
        private String name;
        private String orderName;
        private Boolean itemDelFlag;
        private Boolean orderDelFlag;
    }

}
