yanghb
2023-04-06 e4874ff3af0c59b6b9a1ee1ae39a332829253cd7
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
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
 
import java.util.Date;
 
/**
* 商家券
* @author pzb
* @Date 2022/2/18 15:54
*/
@Data
@TableName("t_merchant_coupon")
public class MerchantCoupon {
    //主键
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    //商家id
    @TableField("merchantId")
    private Integer merchantId;
    //券类型(1=优惠券,2=商品券)
    @TableField("type")
    private Integer type;
    //券名称
    @TableField("name")
    private String name;
    //商品券内容
    @TableField("content")
    private String content;
    //满金额
    @TableField("fullAmount")
    private Double fullAmount;
    //优惠金额
    @TableField("discount")
    private Double discount;
    //状态(1=正常,2=冻结,3=删除)
    @TableField("state")
    private Integer state;
    //添加时间
    @TableField("createTime")
    private Date createTime;
}