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.Data;

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

/**
 * 任务完成记录
 *
 * Created by Codex
 */
@Data
@TableName("mt_task_record")
@ApiModel(value = "MtTaskRecord对象", description = "任务完成记录表")
public class MtTaskRecord implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty("商户ID")
    private Integer merchantId;

    @ApiModelProperty("店铺ID")
    private Integer storeId;

    @ApiModelProperty("任务ID")
    private Integer taskId;

    @ApiModelProperty("会员ID")
    private Integer userId;

    @ApiModelProperty("任务日期(yyyy-MM-dd)")
    private String taskDate;

    @ApiModelProperty("完成次数")
    private Integer completeNum;

    @ApiModelProperty("已领取次数")
    private Integer claimNum;

    @ApiModelProperty("最近完成时间")
    private Date lastCompleteTime;

    @ApiModelProperty("最近领取时间")
    private Date lastClaimTime;

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

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

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

    @ApiModelProperty("状态，A正常；D删除")
    private String status;
}
