package cn.iocoder.yudao.module.system.controller.admin.biz.vo;

import cn.iocoder.yudao.module.system.convert.excel.LocalDateConvert;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import java.util.*;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 长者自带药登记药品 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ByodRegistrationDrugRespVO {

    private Long id;

    @Schema(description = "长者姓名")
    @ExcelProperty("长者姓名")
    private String elderName;

    @Schema(description = "药品名称", example = "张三")
    @ExcelProperty("药品名称")
    private String drugName;

    @Schema(description = "规格")
    @ExcelProperty("规格")
    private String spec;

    @Schema(description = "数量", example = "17124")
    @ExcelProperty("数量")
    private Integer count;

    @Schema(description = "单位")
    @ExcelProperty("单位")
    private String unit;

    @Schema(description = "登记日期")
    @ExcelProperty(value = "登记日期", converter = LocalDateConvert.class)
    private LocalDate registrationDate;

    @Schema(description = "有效期至")
    @ExcelProperty(value = "有效期至", converter = LocalDateConvert.class)
    private LocalDate expireTime;

    @Schema(description = "预计可使用时间至")
    @ExcelProperty(value = "预计可使用时间至", converter = LocalDateConvert.class)
    private LocalDate expectedUsableTime;
}