package com.ruoyi.oa.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 项目成本分析视图对象 sys_oa_cost
 *
 * @author ruoyi
 * @date 2025-03-04
 */
@Data
@ExcelIgnoreUnannotated
public class SysOaCostVo {

    private static final long serialVersionUID = 1L;

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

    /**
     * 绑定项目id
     */
    @ExcelProperty(value = "绑定项目id")
    private Long projectId;

    /**
     * 花费
     */
    @ExcelProperty(value = "花费")
    private Double cost;

    /**
     * 花费类型，字典查询
     */
    @ExcelProperty(value = "花费类型，字典查询", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "project_cost_type")
    private Integer costType;

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

    /**
     * 若为物料花费需要绑定物料id
     */
    @ExcelProperty(value = "若为物料花费需要绑定物料id")
    private Long materialId;

    /**
     * 若为人工花费则绑定用户id
     */
    @ExcelProperty(value = "若为人工花费则绑定用户id")
    private Long userId;

    /**
     * 绑定财政收支id
     */
    @ExcelProperty(value = "绑定财政收支id")
    private Long financeId;

    /**
     * 若为差旅报销绑定差旅id
     */
    @ExcelProperty(value = "若为差旅报销绑定差旅id")
    private Long claimId;


}
