package com.ruoyi.approve.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Getter;
|
import lombok.Setter;
|
import lombok.ToString;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* <p>
|
* 报销单主表
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-05-21 09:56:15
|
*/
|
@Getter
|
@Setter
|
@ToString
|
@TableName("fin_reimbursement")
|
@ApiModel(value = "FinReimbursement对象", description = "报销单主表")
|
public class FinReimbursement implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@Schema(description = "主键ID")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 报销单号
|
*/
|
@Schema(description = "报销单号")
|
private String billNo;
|
|
/**
|
* 报销类型:1-差旅报销,2-费用报销
|
*/
|
@Schema(description = "报销类型:1-差旅报销,2-费用报销")
|
private Byte reimbursementType;
|
|
/**
|
* 费用类型:差旅费/办公采购/业务招待/交通费/通讯费/其他
|
*/
|
@Schema(description = "费用类型:差旅费/办公采购/业务招待/交通费/通讯费/其他")
|
private String expenseType;
|
|
/**
|
* 申请人ID
|
*/
|
@Schema(description = "申请人ID")
|
private Long applicantId;
|
|
/**
|
* 员工编号
|
*/
|
@Schema(description = "员工编号")
|
private String applicantCode;
|
|
/**
|
* 员工姓名
|
*/
|
@Schema(description = "员工姓名")
|
private String applicantName;
|
|
/**
|
* 申请部门ID
|
*/
|
@Schema(description = "申请部门ID")
|
private Long applicantDeptId;
|
|
/**
|
* 申请部门名称
|
*/
|
@Schema(description = "申请部门名称")
|
private String applicantDeptName;
|
|
/**
|
* 报销原因
|
*/
|
@Schema(description = "报销原因")
|
private String reason;
|
|
/**
|
* 申请金额
|
*/
|
@Schema(description = "申请金额")
|
private BigDecimal applyAmount;
|
|
/**
|
* 明细汇总金额
|
*/
|
@Schema(description = "明细汇总金额")
|
private BigDecimal detailTotalAmount;
|
|
/**
|
* 收款人
|
*/
|
@Schema(description = "收款人")
|
private String payeeName;
|
|
/**
|
* 收款账号
|
*/
|
@Schema(description = "收款账号")
|
private String payeeAccount;
|
|
/**
|
* 开户支行
|
*/
|
@Schema(description = "开户支行")
|
private String payeeBank;
|
|
/**
|
* 审批实例ID,对应 approval_instance.id
|
*/
|
@Schema(description = "审批实例ID,对应 approval_instance.id")
|
private Long approvalInstanceId;
|
|
/**
|
* 审批流程ID,对应 approve_process.id
|
*/
|
@Schema(description = "审批流程ID,对应 approve_process.id")
|
private Long approveProcessId;
|
|
/**
|
* 单据状态:DRAFT-草稿,IN_APPROVAL-审批中,APPROVED-审批通过,REJECTED-审批驳回,WITHDRAWN-已撤回,PAID-已付款
|
*/
|
@Schema(description = "单据状态:DRAFT-草稿,IN_APPROVAL-审批中,APPROVED-审批通过,REJECTED-审批驳回,WITHDRAWN-已撤回,PAID-已付款")
|
private String billStatus;
|
|
/**
|
* 审批通过时间
|
*/
|
@Schema(description = "审批通过时间")
|
private LocalDateTime approvedTime;
|
|
/**
|
* 付款时间
|
*/
|
@Schema(description = "付款时间")
|
private LocalDateTime paidTime;
|
|
/**
|
* 生成的财务支出记录ID,对应 account_expense.id
|
*/
|
@Schema(description = "生成的财务支出记录ID,对应 account_expense.id")
|
private Long accountExpenseId;
|
|
/**
|
* 备注
|
*/
|
@Schema(description = "备注")
|
private String remark;
|
|
/**
|
* 租户ID
|
*/
|
@Schema(description = "租户ID")
|
private Long tenantId;
|
|
/**
|
* 创建人
|
*/
|
@Schema(description = "创建人")
|
@TableField(fill = FieldFill.INSERT)
|
private Long createUser;
|
|
/**
|
* 创建时间
|
*/
|
@Schema(description = "创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
/**
|
* 更新人
|
*/
|
@Schema(description = "更新人")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Long updateUser;
|
|
/**
|
* 更新时间
|
*/
|
@Schema(description = "更新时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
/**
|
* 归属部门ID
|
*/
|
@Schema(description = "归属部门ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
|
/**
|
* 逻辑删除:0-否,1-是
|
*/
|
@Schema(description = "逻辑删除:0-否,1-是")
|
private Byte deleted;
|
}
|