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_grow")
@ApiModel(value = "MtGrow对象", description = "签到记录表")
public class MtGrow implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty("用户 ID")
    private Integer userId;

    @ApiModelProperty("签到日期")
    private Date signTime;

    @ApiModelProperty("连续签到次数")
    private Integer consecutiveDays;

    @ApiModelProperty("广告次数")
    private Integer advNum;

    @ApiModelProperty("广告总次数")
    private Integer advTotal;

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

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

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

    @ApiModelProperty("状态，A正常；D作废")
    private String status;

    @ApiModelProperty("成长积分")
    private Integer growTotal;
}
