doum
2025-12-12 89029e9ade03f3139c6afcd6bac48d9a668875f3
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
package com.doumee.dao.web.dto;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * @author T14
 */
@Data
public class CardDTO {
 
 
    @ApiModelProperty(value = "主键")
    private Integer id;
 
    @ApiModelProperty(value = "卡号")
    @ExcelColumn(name="卡号",width = 18)
    private String code;
 
    @ApiModelProperty(value = "卡密")
    @ExcelColumn(name="卡密",width = 18)
    private String password;
 
    @ApiModelProperty(value = "金额")
    @ExcelColumn(name="金额",width = 18)
    private BigDecimal money;
 
    @ApiModelProperty(value = "有效期")
    @ExcelColumn(name="有效期",width = 18,dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date validDate;
 
    @ApiModelProperty(value = "类型编码(关联card_param表)")
    private Integer paramId;
 
    @ApiModelProperty(value = "类型编码名称")
    @ExcelColumn(name="类型编码名称")
    private String paramName;
 
    @ApiModelProperty(value = "使用情况 0未使用 1已使用")
    @ExcelColumn(name="使用情况",valueMapping = "0=未使用;1=已使用")
    private Integer isUsed;
 
    @ApiModelProperty(value = "创建时间")
    @ExcelColumn(name="创建时间",width = 18,dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "状态 0正常 1异常")
    @ExcelColumn(name="状态",width = 18 ,valueMapping = "0=正常;1=异常")
    private Integer status;
 
    @ApiModelProperty(value = "排序码")
    private Integer sortnum;
 
    @ApiModelProperty(value = "使用用户编码(关联member表)",hidden = true)
    private Integer memberId;
 
    @ApiModelProperty(value = "使用时间",hidden = true)
    private Date useDate;
 
    @ApiModelProperty(value = "使用备注",hidden = true)
    private String useInfo;
 
}