xuhy
2025-01-09 712f70b2936079a131ecb1e63c6d337171618cad
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
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/1/28 15:12
*/
@Data
@TableName("t_sys_coupon_record")
public class CouponRecord {
    //主键
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    //金额
    @TableField("money")
    private Double money;
    //满减金额
    @TableField("fullMoney")
    private Double fullMoney;
    //添加时间
    @TableField("insertTime")
    private Date insertTime;
    //公司id
    @TableField("companyId")
    private Integer companyId;
    //优惠券使用类型(0=通用,1=专车,2=出租车,3=城际,4=小件物流)
    @TableField("couponUseType")
    private Integer couponUseType;
    //优惠券类型(1=抵扣,2=满减)
    @TableField("couponType")
    private Integer couponType;
    //优惠券名称
    @TableField("name")
    private String name;
    //有效天数
    @TableField("effective")
    private Integer effective;
    //1=平台 2=分公司 3=加盟商
    @TableField("companyType")
    private Integer companyType;
}