package cn.iocoder.yudao.module.expense.controller.admin.expenseitem.vo;

import cn.iocoder.yudao.framework.common.util.date.DateUtils;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 报销费用项目信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ExpenseItemRespVO {

    @Schema(description = "主键")
    // @ExcelProperty("主键")
    private Long id;

    @Schema(description = "报销类型主键id")
    // @ExcelProperty("报销类型主键id")
    private Long expenseTypeId;

    @Schema(description = "报销类型uuid")
    // @ExcelProperty("报销类型uuid")
    private String expenseTypeUuid;

    @Schema(description = "费用项目uuid")
    // @ExcelProperty("费用项目uuid")
    private String expenseItemUuid;

    @Schema(description = "费用项目")
    @ExcelProperty("费用项目")
    private String name;

    @Schema(description = "备注")
    // @ExcelProperty("备注")
    private String remarks;

    @Schema(description = "创建者")
    // @ExcelProperty("创建者id")
    private Long creator;

    @Schema(description = "创建员工姓名")
    @ExcelProperty("创建人")
    private String createEmployeeName;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    @DateTimeFormat(pattern = DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime createTime;

}