add entity blacklist
This commit is contained in:
parent
a29b534bba
commit
dcd00285f2
20
src/main/java/com/covas/Entity/BlacklistEntity.java
Normal file
20
src/main/java/com/covas/Entity/BlacklistEntity.java
Normal 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="blacklist")
|
||||||
|
public class BlacklistEntity extends PanacheMongoEntity {
|
||||||
|
|
||||||
|
public String owner;
|
||||||
|
|
||||||
|
public Collection<String> blocked;
|
||||||
|
public Short status;
|
||||||
|
|
||||||
|
public LocalDateTime created_at;
|
||||||
|
public LocalDateTime updated_at;
|
||||||
|
public LocalDateTime deleted_at;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user