package com.red.circle.other.inner.model.dto.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户只可触发一次的任务.
 * </p>
 *
 * @author pengshigang
 * @since 2021-07-15
 */
@Data
@Accessors(chain = true)
public class UserOneTimeTaskDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 用户.
   */
  private Long userId;

  /**
   * 来源系统.
   */
  private String sysOrigin;

  /**
   * 奖励数量.
   */
  private BigDecimal rewardQuantity;

  /**
   * 是否已领取奖励 1.已领取 0.未领取.
   */
  private Boolean awardStatus;

  /**
   * 任务类型(FIRST_CHARGE).
   */
  private String taskType;

  /**
   * 创建时间.
   */
  private LocalDateTime createTime;

  /**
   * 修改时间.
   */
  private LocalDateTime updateTime;

  /**
   * 创建用户.
   */
  private Long createUser;

  /**
   * 修改用户.
   */
  private Long updateUser;


}
