package org.dromara.web.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.web.domain.EnteralNutritionConsumable;

import java.io.Serial;
import java.io.Serializable;


/**
 * 肠内营养耗材视图对象 enteral_nutrition_consumable
 *
 * @author Lion Li
 * @date 2025-07-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EnteralNutritionConsumable.class)
public class EnteralNutritionConsumableVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 结算管理id
     */
    @ExcelProperty(value = "结算管理id")
    private Long settlementId;

    /**
     * 组号
     */
    @ExcelProperty(value = "组号")
    private String groupNo;

    /**
     * 耗材
     */
    @ExcelProperty(value = "耗材")
    private String consumable;

    /**
     * 规格
     */
    @ExcelProperty(value = "规格")
    private String specification;

    /**
     * 用量/次
     */
    @ExcelProperty(value = "用量/次")
    private String dosePerTime;

    /**
     * 频次
     */
    @ExcelProperty(value = "频次")
    private String frequency;

    /**
     * 用量/日
     */
    @ExcelProperty(value = "用量/日")
    private String dosePerDay;

    /**
     * 使用天数
     */
    @ExcelProperty(value = "使用天数")
    private Long usageDays;

    /**
     * 首日
     */
    @ExcelProperty(value = "首日")
    private String firstDay;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    private Long quantity;

    /**
     * 处方备注
     */
    @ExcelProperty(value = "处方备注")
    private String prescriptionRemark;

    /**
     * 金额
     */
    @ExcelProperty(value = "金额")
    private Long amount;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
    private String status;


}
