package org.dromara.web.domain.vo;

import java.util.Date;

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.EnteralNutrition;

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


/**
 * 肠内营养视图对象 enteral_nutrition
 *
 * @author Lion Li
 * @date 2025-07-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EnteralNutrition.class)
public class EnteralNutritionVo 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 Date prescriptionDate;

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

    /**
     * 营养产品
     */
    @ExcelProperty(value = "营养产品")
    private String nutritionProduct;

    /**
     * 停嘱日期
     */
    @ExcelProperty(value = "停嘱日期")
    private Date stopDate;

    /**
     * 处方类型
     */
    @ExcelProperty(value = "处方类型")
    private String prescriptionType;

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

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

    /**
     * 餐次时间
     */
    @ExcelProperty(value = "餐次时间")
    private String mealTime;

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

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

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

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

    /**
     * 用量/总
     */
    @ExcelProperty(value = "用量/总")
    private String totalDose;

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

    /**
     * 用法
     */
    @ExcelProperty(value = "用法")
    private String usage;

    /**
     * 制剂液量/次
     */
    @ExcelProperty(value = "制剂液量/次")
    private String preparationVolumePerTime;

    /**
     * 制剂浓度/次
     */
    @ExcelProperty(value = "制剂浓度/次")
    private String preparationConcentrationPerTime;

    /**
     * 能量密度/次
     */
    @ExcelProperty(value = "能量密度/次")
    private String energyDensityPerTime;

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

    /**
     * 每日热量
     */
    @ExcelProperty(value = "每日热量")
    private String dailyCalories;

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

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


}
