package com.ruoyi.oa.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目成本分析对象 sys_oa_cost
 *
 * @author ruoyi
 * @date 2025-03-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_oa_cost")
public class SysOaCost extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @TableId(value = "cost_id")
    private Long costId;
    /**
     * 绑定项目id
     */
    private Long projectId;
    /**
     * 花费
     */
    private Double cost;
    /**
     * 花费类型，字典查询
     */
    private Integer costType;
    /**
     * 花费备注
     */
    private String remark;
    /**
     * 删除标志
     */
    @TableLogic
    private Long delFlag;
    /**
     * 若为物料花费需要绑定物料id
     */
    private Long materialId;
    /**
     * 若为人工花费则绑定用户id
     */
    private Long userId;
    /**
     * 绑定财政收支id
     */
    private Long financeId;
    /**
     * 若为差旅报销绑定差旅id
     */
    private Long claimId;

}
