zouyu
8 天以前 09394848ce262aff81897503d32ec334fd3f2b6f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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;
 
/**
 * 财务管理--财务对账
 * account
 */
@TableName(value = "account_reconciliation")
@Data
public class AccountReconciliation implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 序号
     */
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date accountDate;
 
    /**
     * 类型
     */
    @Excel(name = "类型",readConverterExp = "0=销售收入,1=服务收入,2=其他收入")
    @NotBlank(message = "类型不能为空!!")
    private String status;
 
    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal amount;
 
 
    /**
     * 往来单位
     */
    @Excel(name = "往来单位")
    private String counterparty;
 
    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;
 
 
 
    @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;
 
 
}