add collection mongo event
This commit is contained in:
parent
2cb02ca223
commit
3c053b94ee
13
src/main/java/com/covas/Entity/EventEntity.java
Normal file
13
src/main/java/com/covas/Entity/EventEntity.java
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
package com.covas.Entity;
|
||||||
|
|
||||||
|
import io.quarkus.mongodb.panache.PanacheMongoEntity;
|
||||||
|
import io.quarkus.mongodb.panache.common.MongoEntity;
|
||||||
|
|
||||||
|
@MongoEntity(collection="event")
|
||||||
|
public class EventEntity extends PanacheMongoEntity {
|
||||||
|
|
||||||
|
public String name;
|
||||||
|
|
||||||
|
public Short status;
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user