zhangwencui
2026-10-29 b2f8320707dc72b2429bfb4fe0b317c11b1e5b7f
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
package com.ruoyi.purchase.pojo;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * 采购台账(简)对象 purchase_ledger_simple
 *
 * 仅保留采购日期、支出日期、金额、采购物品、发票号码、付款方式、备注等基础信息,
 * 不与合同、供应商、产品、入库等模块关联。
 */
@Getter
@Setter
@TableName("purchase_ledger_simple")
@Schema(name = "PurchaseLedgerSimple对象", description = "采购台账(简)")
public class PurchaseLedgerSimple implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 支出日期
     */
    @Schema(description = "支出日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "支出日期", width = 20, dateFormat = "yyyy-MM-dd")
    private Date paymentDate;
 
    /**
     * 采购日期
     */
    @Schema(description = "采购日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "采购日期", width = 20, dateFormat = "yyyy-MM-dd")
    private Date purchaseDate;
 
    /**
     * 金额
     */
    @Schema(description = "金额")
    @Excel(name = "金额")
    private BigDecimal amount;
 
    /**
     * 采购物品
     */
    @Schema(description = "采购物品")
    @Excel(name = "采购物品")
    private String purchaseGoods;
 
    /**
     * 发票号码
     */
    @Schema(description = "发票号码")
    @Excel(name = "发票号码")
    private String invoiceNumber;
 
    /**
     * 付款方式
     */
    @Schema(description = "付款方式")
    @Excel(name = "付款方式")
    private String paymentMethod;
 
    /**
     * 备注
     */
    @Schema(description = "备注")
    @Excel(name = "备注")
    private String remark;
 
    /**
     * 录入人id
     */
    @Schema(description = "录入人id")
    private Long recorderId;
 
    /**
     * 录入人
     */
    @Schema(description = "录入人")
    @Excel(name = "录入人")
    private String recorderName;
 
    /**
     * 录入日期
     */
    @Schema(description = "录入日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "录入日期", width = 20, dateFormat = "yyyy-MM-dd")
    private Date entryDate;
 
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
 
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
 
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}