add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
34
internal/foundry/temp_models/db/combat.go
Normal file
34
internal/foundry/temp_models/db/combat.go
Normal file
@@ -0,0 +1,34 @@
|
||||
package db
|
||||
|
||||
type Combat struct {
|
||||
ID string
|
||||
|
||||
Type string
|
||||
Scene string
|
||||
Round int
|
||||
Turn int
|
||||
Sort int
|
||||
Active bool
|
||||
Stats Stats
|
||||
Groups []string
|
||||
Combatants []Combatant
|
||||
// System any `json:"system"`
|
||||
// Flags any `json:"flags"`
|
||||
}
|
||||
|
||||
type Combatant struct {
|
||||
ID string
|
||||
|
||||
TokenId string
|
||||
SceneId string
|
||||
ActorId string
|
||||
Type string
|
||||
Img string
|
||||
Group string
|
||||
Initiative int
|
||||
Hidden bool
|
||||
Defeated bool
|
||||
Stats Stats
|
||||
// System any `json:"system"`
|
||||
// Flags any `json:"flags"`
|
||||
}
|
||||
Reference in New Issue
Block a user