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;
import javax.persistence.Transient;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
public class ActivityOrder extends BaseEntity {

    private Long userId;

    @Searchable
    private String phone;

    private Long activityCollectionId;

    private String activityCollection;

    @Transient
    private List<ActivityMaterial> material;

}
