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;

/**
 * 任务中心(TaskCenter)表实体类
 *
 * @author ww
 * @since 2024-12-09 13:53:10
 */
@Data
@TableName("task_center")
@ApiModel(value = "任务中心 实体类")
public class TaskCenter extends Model<TaskCenter> {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("任务类型 1 普通任务 2 打卡任务 3 9 其它")
    private Integer type;
    @ApiModelProperty("详情描述")
    private String detail;
    @ApiModelProperty("奖励图标")
    private String rewardImg;
    @ApiModelProperty("奖励描述")
    private String rewardDetail;
    @ApiModelProperty("达标次数")
    private Integer number;
    @ApiModelProperty("按钮内容")
    private String buttonTitle;
    @ApiModelProperty("按钮背景色")
    private String buttonBgColor;
    @ApiModelProperty("按钮字体色")
    private String buttonFontColor;
    @ApiModelProperty("跳转类型 1 内部路径 2 外部路径")
    private Integer jumpType;
    @ApiModelProperty("按钮跳转地址")
    private String buttonUrl;
    @ApiModelProperty("按钮下方内容")
    private String buttonUnderContent;
    @ApiModelProperty("按钮下方内容 跳转路径")
    private String buttonUnderUrl;
    private String createTime;
    private String updateTime;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("是否开启 0否1是")
    private Integer shows;

    @TableField(exist = false)
    private Integer discNumber = 0;
    @TableField(exist = false)
    private boolean disabled = true;


}

