package com.sqx.modules.taskCenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 任务奖励(TaskCenterReward)表实体类
 *
 * @author ww
 * @since 2024-12-06 13:58:57
 */
@Data
@TableName("task_center_reward")
@ApiModel(value = "任务奖励 实体类")
public class TaskCenterReward extends Model<TaskCenterReward> {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("任务Id")
    private Long taskId;
    @ApiModelProperty("图片")
    private String img;
    @ApiModelProperty("奖励名称")
    private String name;
    @ApiModelProperty("奖励类型 1 金币 2 现金红包  3  4  5  9 大转盘抽奖次数")
    private Integer type;
    @TableField(exist = false)
    private Long targetId;
    @ApiModelProperty("数量")
    private Integer number;
    @ApiModelProperty("总数量")
    private Integer totalNumber;
    @ApiModelProperty("剩余数量")
    private Integer surplusNumber;
    @TableField(exist = false)
    private String createTime;
    private String updateTime;


}

