package com.fuint.repository.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 抽奖表
 *
 * Created by FSQ
 * CopyRight https://www.fuint.cn
 */
@Getter
@Setter
@TableName("mt_raffle")
@ApiModel(value = "MtRaffle对象", description = "抽奖表")
public class MtRaffle implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("抽奖类型")
    private String raffleType;
    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("简介")
    private String brief;

    @ApiModelProperty("热度")
    private String hot;

    @ApiModelProperty("图片地址")
    private String image;

    @ApiModelProperty("额外奖奖品")
    private String extraPrize;

    @ApiModelProperty("额外奖图片")
    private String extraImage;

    @ApiModelProperty("额外奖类型")
    private String extraType;

    @ApiModelProperty("排队人")
    private Integer userId;

    @ApiModelProperty("排队时间")
    private Date userTime;

    @ApiModelProperty("已抽去数")
    private Integer nowCnt;

    @ApiModelProperty("总数")
    private Integer allCnt;

    @ApiModelProperty("抽奖积分")
    private Integer rafflePoint;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("点击次数")
    private Integer click;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("最后操作人")
    private String operator;

    @ApiModelProperty("转发赠送积分")
    private Integer forwardPoint;
}
