package com.ruoyi.oa.domain.vo;

import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


/**
 * 报销明细视图对象 sys_oa_claim_detail
 *
 * @author hdka
 * @date 2025-02-21
 */
@Data
@ExcelIgnoreUnannotated
public class SysOaClaimDetailVo {

    private static final long serialVersionUID = 1L;

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

    /**
     * 外键id
     */
    @ExcelProperty(value = "外键id")
    private Long claimId;

    /**
     * 报销类型
     */
    @ExcelProperty(value = "报销类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "claim_detail_type")
    private Long claimType;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "开始时间")
    private Date beginTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "结束时间")
    private Date endTime;

    /**
     * 入住地点
     */
    @ExcelProperty(value = "入住地点")
    private String lodgingAddress;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 文件id列表
     */
    @ExcelProperty(value = "文件id列表")
    private String fileIds;

    /**
     * 报销金额
     */
    @ExcelProperty(value = "报销金额")
    private Double cost;

    /**
     * 报销金额大写
     */
    @ExcelProperty(value = "报销金额大写")
    private String bigCost;


}
