electripper/electripper-system/src/main/java/com/ruoyi/system/domain/EtCouponUserLog.java

91 lines
2.1 KiB
Java
Raw Normal View History

2024-08-08 23:06:11 +08:00
package com.ruoyi.system.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
2024-08-08 23:06:11 +08:00
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
2024-09-03 15:54:11 +08:00
import java.math.BigDecimal;
import java.util.Date;
2024-08-08 23:06:11 +08:00
/**
2024-09-03 15:54:11 +08:00
* 我的优惠券对象 et_coupon_user_log
2024-08-08 23:06:11 +08:00
*
* @author qzz
* @date 2024-08-08
*/
@Data
2024-09-03 15:54:11 +08:00
public class EtCouponUserLog extends BaseEntity
2024-08-08 23:06:11 +08:00
{
private static final long serialVersionUID = 1L;
/** 日志id */
private Long logId;
2024-08-08 23:06:11 +08:00
/** 区域 */
@Excel(name = "区域")
private Long areaId;
/** 区域名称 */
@Excel(name = "区域名称")
private String areaName;
/** 用户 */
@Excel(name = "用户")
private Long userId;
/** 用户名 */
@Excel(name = "用户名")
private String userName;
/** 优惠券 */
@Excel(name = "优惠券")
private Long couponId;
2024-09-05 14:19:18 +08:00
/** 优惠券类型 */
@Excel(name = "优惠券类型")
private String couponType;
2024-09-03 15:54:11 +08:00
/** 优惠券名称 */
@Excel(name = "优惠券名称")
private String couponName;
2024-09-05 16:33:58 +08:00
/** 有效期值 */
@Excel(name = "有效期值")
private Integer validityValue;
/** 有效期单位 */
@Excel(name = "有效期单位")
private String validityUnit;
@Excel(name = "类型列表")
private String[] typeList;
2024-09-03 15:54:11 +08:00
/** 零售价 */
@Excel(name = "零售价")
private BigDecimal retailPrice;
/** 获取方式claim-领取buy-购买issue-下发 */
@Excel(name = "获取方式claim-领取buy-购买issue-下发")
private String gainMethod;
/** 状态 */
@Excel(name = "状态")
private String status;
/** 状态列表 */
@TableField(exist = false)
private String[] statusList;
2024-08-08 23:06:11 +08:00
/** 有效时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "有效时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date expirationTime;
2024-08-08 23:06:11 +08:00
2024-09-05 14:19:18 +08:00
/** 可使用次数0-无限制;其他数字直接显示次数 */
@Excel(name = "可使用次数")
private int limitNum;
2024-08-08 23:06:11 +08:00
}