package org.dromara.web.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.web.domain.EnteralNutritionConsumable;

import java.math.BigDecimal;

/**
 * 肠内营养耗材业务对象 enteral_nutrition_consumable
 *
 * @author Lion Li
 * @date 2025-07-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = EnteralNutritionConsumable.class, reverseConvertGenerate = false)
public class EnteralNutritionConsumableBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 结算管理id
     */
    private Long settlementId;

    /**
     * 组号
     */
    private String groupNo;

    /**
     * 耗材
     */
    private String consumable;
    private Long consumableId;

    /**
     * 规格
     */
    private String specification;

    /**
     * 用量/次
     */
    private BigDecimal dosePerTime;

    /**
     * 频次
     */
    private Long frequency;

    /**
     * 用量/日
     */
    private BigDecimal dosePerDay;

    /**
     * 使用天数
     */
    private Long usageDays;

    /**
     * 首日
     */
    private Long firstDay;

    /**
     * 数量
     */
    private Long quantity;

    /**
     * 处方备注
     */
    private String prescriptionRemark;

    /**
     * 金额
     */
    private BigDecimal amount;

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


}
