package org.mercury_im.messenger.data.model;

import java.util.Set;

import io.requery.Entity;
import io.requery.Generated;
import io.requery.Key;
import io.requery.ManyToOne;
import io.requery.OneToMany;
import io.requery.Table;

@Entity
@Table(name = "msg_payload_containers")
public abstract class AbstractMessagePayloadContainerModel {

    @Key @Generated
    long id;

    @ManyToOne
    MessageModel message;

    @OneToMany
    Set<MessagePayloadModel> contents;
}
