doum
2025-12-12 68c3ad67a7042432fa92e8587bd75a88589454aa
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
package com.doumee.dao.business.model;
 
import com.doumee.core.annotation.excel.ExcelColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.math.BigDecimal;
 
/**
 * 充值卡信息表
 * @author 江蹄蹄
 * @date 2023/04/13 11:22
 */
@Data
@ApiModel("充值卡信息表")
@TableName("`card`")
public class Card {
 
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键", example = "1")
    @ExcelColumn(name="主键")
    private Integer id;
 
 
    @ApiModelProperty(value = "类型编码(关联card_param表)", example = "1")
    @ExcelColumn(name="类型编码(关联card_param表)")
    private Integer paramId;
 
    @ApiModelProperty(value = "创建人编码", example = "1")
    @ExcelColumn(name="创建人编码")
    private Integer creator;
 
    @ApiModelProperty(value = "创建时间")
    @ExcelColumn(name="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;
 
    @ApiModelProperty(value = "更新人编码", example = "1")
    @ExcelColumn(name="更新人编码")
    private Integer editor;
 
    @ApiModelProperty(value = "更新时间")
    @ExcelColumn(name="更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date editDate;
 
    @ApiModelProperty(value = "是否删除0否 1是", example = "1")
    @ExcelColumn(name="是否删除0否 1是")
    private Integer isdeleted;
 
    @ApiModelProperty(value = "备注")
    @ExcelColumn(name="备注")
    private String remark;
 
    @ApiModelProperty(value = "卡号")
    @ExcelColumn(name="卡号")
    private String code;
 
    @ApiModelProperty(value = "卡密")
    @ExcelColumn(name="卡密")
    private String password;
 
    @ApiModelProperty(value = "金额", example = "1")
    @ExcelColumn(name="金额")
    private BigDecimal money;
 
    @ApiModelProperty(value = "使用情况 0未使用 1已使用", example = "1")
    @ExcelColumn(name="使用情况 0未使用 1已使用")
    private Integer isUsed;
 
    @ApiModelProperty(value = "有效期")
    @ExcelColumn(name="有效期")
//    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date validDate;
 
    @ApiModelProperty(value = "状态0正常 1异常", example = "1")
    @ExcelColumn(name="状态0正常 1异常")
    private Integer status;
 
    @ApiModelProperty(value = "排序码", example = "1")
    @ExcelColumn(name="排序码")
    private Integer sortnum;
 
    @ApiModelProperty(value = "使用用户编码(关联member表)", example = "1")
    @ExcelColumn(name="使用用户编码(关联member表)")
    private Integer memberId;
 
    @ApiModelProperty(value = "使用时间")
    @ExcelColumn(name="使用时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date useDate;
 
    @ApiModelProperty(value = "使用备注")
    @ExcelColumn(name="使用备注")
    private String useInfo;
 
}