package com.ruoyi.account.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
/**
|
* 财务管理--对账差异明细
|
* finance_reconciliation_diff
|
*/
|
@TableName(value = "finance_reconciliation_diff")
|
@Data
|
public class FinanceReconciliationDiff implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 序号
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 对账任务ID
|
*/
|
private Long taskId;
|
|
/**
|
* 差异类型(字典 finance_diff_type):0系统有外部无 1外部有系统无 2金额不符 3日期不符
|
*/
|
private String diffType;
|
|
/**
|
* 业务类型:Income/Expense/Flow
|
*/
|
private String bizType;
|
|
/**
|
* 业务记录ID
|
*/
|
private Long bizId;
|
|
/**
|
* 业务日期
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "业务日期", dateFormat = "yyyy-MM-dd")
|
private Date bizDate;
|
|
/**
|
* 往来单位
|
*/
|
@Excel(name = "往来单位")
|
private String counterparty;
|
|
/**
|
* 系统金额
|
*/
|
@Excel(name = "系统金额")
|
private BigDecimal systemAmount;
|
|
/**
|
* 对方金额
|
*/
|
@Excel(name = "外部金额")
|
private BigDecimal externalAmount;
|
|
/**
|
* 备注
|
*/
|
@Excel(name = "差异说明")
|
private String remark;
|
|
@ApiModelProperty(value = "创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
@ApiModelProperty(value = "租户ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
|
}
|