add friend entity

This commit is contained in:
Valentin CZERYBA 2023-01-15 21:32:31 +01:00
parent 4b8477b176
commit b6fc5783c9

View File

@ -0,0 +1,20 @@
package com.covas.Entity;
import java.time.LocalDateTime;
import java.util.Collection;
import io.quarkus.mongodb.panache.PanacheMongoEntity;
import io.quarkus.mongodb.panache.common.MongoEntity;
@MongoEntity(collection="friend")
public class FriendEntity extends PanacheMongoEntity {
public String owner;
public Collection<String> friends;
public LocalDateTime created_at;
public LocalDateTime updated_at;
public LocalDateTime deleted_at;
}