package com.sqx.modules.discSpinning.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 大转盘(DiscSpinning)表实体类
 *
 * @author ww
 * @since 2024-12-03 15:18:43
 */
@Data
@TableName("disc_spinning")
public class DiscSpinning extends Model<DiscSpinning> {
    //主键
    private Long id;
    //图标
    private String url;
    //描述
    private String name;
    //1 普通转盘 2 周任务转盘 3 月任务转盘
    private Integer discType;
    //类型 1谢谢惠顾 2 红包 9 其它
    private Integer type;
    //数值
    private BigDecimal number;
    //中奖概率
    private BigDecimal odds;
    //创建时间
    private String createTime;

    public DiscSpinning() {
    }

    public DiscSpinning(String name, Integer type, BigDecimal number) {
        this.name = name;
        this.type = type;
        this.number = number;
    }
}

