package com.red.circle.other.infra.database.rds.entity.family;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 家族成员每周领奖记录(每周清空记录值).
 * </p>
 *
 * @author pengshigang
 * @since 2021-08-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("family_member_week_award_record")
public class FamilyMemberWeekAwardRecord extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 来源系统.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 家族ID.
   */
  @TableField("family_id")
  private Long familyId;

  /**
   * 家族成员表ID.
   */
  @TableField("family_member_id")
  private Long familyMemberId;

  /**
   * 家族奖励规则ID.
   */
  @TableField("reward_rule_id")
  private Long rewardRuleId;

}
