11 lines
200 B
Go
11 lines
200 B
Go
|
package models
|
||
|
|
||
|
type Realm struct {
|
||
|
BaseModel
|
||
|
|
||
|
Name string `json:"name"`
|
||
|
Description string `json:"description"`
|
||
|
Posts []Post `json:"posts"`
|
||
|
AccountID uint `json:"account_id"`
|
||
|
}
|