package com.izouma.nineth.domain;

import com.izouma.nineth.annotations.Searchable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;

@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Invite extends BaseEntity {
    @Searchable
    private String name;

    @Searchable
    private String phone;

    @Searchable
    private String code;

    @Searchable
    private String remark;

    private int inviteNum;
}
