package com.ruoyi.goods.api.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2025/5/8 17:03
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("lottery_event")
|
public class LotteryEvent {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.INPUT)
|
private String id;
|
/**
|
* 抽奖名称
|
*/
|
@TableField("name")
|
private String name;
|
/**
|
* 活动简介名称
|
*/
|
@TableField("activity_profile")
|
private String activityProfile;
|
/**
|
* 开启方式(1=新注册用户,2=下单,3=分享小程序,4=普通抽奖,5=答题抽奖)
|
*/
|
@TableField("activity_type")
|
private Integer activityType;
|
/**
|
* 抽奖总次数
|
*/
|
@TableField("total_times")
|
private Integer totalTimes;
|
/**
|
* 剩余次数
|
*/
|
@TableField("lave_times")
|
private Integer laveTimes;
|
/**
|
* 活动开始时间
|
*/
|
@TableField("start_time")
|
private LocalDateTime startTime;
|
/**
|
* 活动结束时间
|
*/
|
@TableField("end_time")
|
private LocalDateTime endTime;
|
/**
|
* 分享抽奖间隔天数
|
*/
|
@TableField("interval_time")
|
private Integer intervalTime;
|
/**
|
* 答题抽奖正确率%
|
*/
|
@TableField("accuracy")
|
private BigDecimal accuracy;
|
/**
|
* 封面图
|
*/
|
@TableField("cover_image")
|
private String coverImage;
|
/**
|
* 详情介绍
|
*/
|
@TableField("activity_content")
|
private String activityContent;
|
/**
|
* 删除标记
|
*/
|
@TableField("del_flag")
|
private Integer delFlag;
|
/**
|
* 创建用户id
|
*/
|
@TableField("create_user_id")
|
private Integer createUserId;
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
private LocalDateTime createTime;
|
/**
|
* 更新用户id
|
*/
|
@TableField("update_user_id")
|
private Integer updateUserId;
|
/**
|
* 更新时间
|
*/
|
@TableField("update_time")
|
private LocalDateTime updateTime;
|
}
|