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;
|
}
|