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 javax.validation.constraints.NotBlank;
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
/**
|
* 财务管理--对账任务
|
* finance_reconciliation_task
|
*/
|
@TableName(value = "finance_reconciliation_task")
|
@Data
|
public class FinanceReconciliationTask implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 序号
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 对账类型(字典 finance_recon_type):0内部对账 1银行对账 2供应商对账 3客户对账
|
*/
|
@Excel(name = "对账类型", readConverterExp = "0=内部对账,1=银行对账,2=供应商对账,3=客户对账")
|
@NotBlank(message = "对账类型不能为空")
|
private String reconType;
|
|
/**
|
* 对账期间开始
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "期间开始", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date periodStart;
|
|
/**
|
* 对账期间结束
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "期间结束", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date periodEnd;
|
|
/**
|
* 对账对象(账户/供应商/客户名称)
|
*/
|
@Excel(name = "对账对象")
|
private String target;
|
|
/**
|
* 对账账户ID
|
*/
|
private Long accountId;
|
|
/**
|
* 系统金额(收支净额)
|
*/
|
@Excel(name = "系统金额")
|
private BigDecimal systemAmount;
|
|
/**
|
* 流水/外部金额
|
*/
|
@Excel(name = "流水金额")
|
private BigDecimal externalAmount;
|
|
/**
|
* 差额
|
*/
|
@Excel(name = "差额")
|
private BigDecimal diffAmount;
|
|
/**
|
* 结果(字典 finance_recon_result):0一致 1有差异
|
*/
|
@Excel(name = "结果", readConverterExp = "0=一致,1=有差异")
|
private String result;
|
|
/**
|
* 状态(字典 finance_recon_status):0待处理 1处理中 2已归档
|
*/
|
@Excel(name = "状态", readConverterExp = "0=待处理,1=处理中,2=已归档")
|
private String status;
|
|
/**
|
* 处理方案
|
*/
|
@Excel(name = "处理方案")
|
private String handleNote;
|
|
@ApiModelProperty(value = "创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
@ApiModelProperty(value = "创建用户")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@ApiModelProperty(value = "修改时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
@ApiModelProperty(value = "修改用户")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
@ApiModelProperty(value = "租户ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
|
}
|