package com.mosquito.project.persistence.entity;

import jakarta.persistence.*;

@Entity
@Table(name = "activity_rewards")
public class ActivityRewardEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "activity_id", nullable = false)
    private Long activityId;

    @Column(name = "invite_threshold", nullable = false)
    private Integer inviteThreshold;

    @Column(name = "reward_type", nullable = false, length = 50)
    private String rewardType;

    @Column(name = "reward_value", nullable = false, length = 255)
    private String rewardValue;

    @Column(name = "skip_validation", nullable = false)
    private Boolean skipValidation = Boolean.FALSE;

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Long getActivityId() { return activityId; }
    public void setActivityId(Long activityId) { this.activityId = activityId; }
    public Integer getInviteThreshold() { return inviteThreshold; }
    public void setInviteThreshold(Integer inviteThreshold) { this.inviteThreshold = inviteThreshold; }
    public String getRewardType() { return rewardType; }
    public void setRewardType(String rewardType) { this.rewardType = rewardType; }
    public String getRewardValue() { return rewardValue; }
    public void setRewardValue(String rewardValue) { this.rewardValue = rewardValue; }
    public Boolean getSkipValidation() { return skipValidation; }
    public void setSkipValidation(Boolean skipValidation) { this.skipValidation = skipValidation; }
}

