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.util.Date;

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

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty("抽奖表ID")
    private Integer raffleId;

    @ApiModelProperty("抽奖项目")
    private String title;

    @ApiModelProperty("抽奖奖品")
    private String prize;

    @ApiModelProperty("积分价值")
    private Integer point;

    @ApiModelProperty("中奖用户")
    private Integer userId;

    @ApiModelProperty("会员号")
    private String userNo;

    @ApiModelProperty("称呼")
    private String name;

    @ApiModelProperty("图片")
    private String image;
    @ApiModelProperty("奖品状态")
    private Integer win;

    @ApiModelProperty("领取状态")
    private Integer deal;

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

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

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

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

    @ApiModelProperty("转发人")
    private Integer forwardUserId;

    @ApiModelProperty("奖品类型")
    private String prizeType;
}
