package org.dromara.web.domain.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;

import java.util.List;

/**
 * 肠内营养业务对象 enteral_nutrition
 *
 * @author Lion Li
 * @date 2025-07-22
 */
@Data
public class EnteralNutritionSaveBo {
    /**
     * 结算管理id
     */
    @NotNull(message = "肠内营养不能为空", groups = {EditGroup.class})
    private Long settlementId;

    /**
     * 患者ID
     */
    @NotNull(message = "患者不能为空", groups = {AddGroup.class})
    private Long patientId;
    /**
     * 看诊类型
     */
    @NotBlank(message = "看诊类型（0门诊 1住院）不能为空", groups = {AddGroup.class})
    private String visitType;

    /**
     * 收费类型
     */
    @NotBlank(message = "收费类型不能为空", groups = {AddGroup.class})
    private String chargeType;
    /**
     * 门诊/住院号
     */
    @NotBlank(message = "门诊/住院号不能为空", groups = {AddGroup.class})
    private String patientNo;

    /**
     * 状态（0正常 1停用 2草稿）
     */
    private String status;

    private List<EnteralNutritionBo> nutritionList;

    private List<EnteralNutritionConsumableBo> consumableList;
}
