package ru.soune.nocopy.entity.referral;

import jakarta.persistence.*;
import lombok.Data;

@Entity
@Table(name = "referral_levels")
@Data
public class ReferralLevelEntity {
    @Id
    private String id;

    @Column(nullable = false)
    private String name;

    @Column(name = "min_invitees")
    private int minInvitees;

    @Column(name = "reward_percentage")
    private int rewardPercentage;
}
