This repository has been archived on 2022-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
shared/models/ennoblement.go
2020-06-04 15:53:45 +02:00

14 lines
431 B
Go

package models
import "time"
type Ennoblement struct {
VillageID int `gqlgen:"-" json:"villageID"`
Village *Village `gqlgen:"-" json:"village"`
NewOwnerID int `gqlgen:"-" json:"newOwnerID"`
NewOwner *Player `gqlgen:"-" json:"newOwner"`
OldOwnerID int `gqlgen:"-" json:"oldOwnerID"`
OldOwner *Player `gqlgen:"-" json:"oldOwner"`
EnnobledAt time.Time `json:"ennobledAt" gqlgen:"ennobledAt"`
}