16 lines
396 B
Go
16 lines
396 B
Go
package json
|
|
|
|
import "gitea.local.lab/Lbenedar/foundry_helper_service/internal/foundry/temp_models/db"
|
|
|
|
type Ownership struct {
|
|
Player string `json:"PLAYER,omitempty"`
|
|
Trusted string `json:"TRUSTED,omitempty"`
|
|
Assistant string `json:"ASSISTANT,omitempty"`
|
|
}
|
|
|
|
func (o *Ownership) ToDB(dest *db.Ownership) {
|
|
dest.Player = o.Player
|
|
dest.Trusted = o.Trusted
|
|
dest.Assistant = o.Assistant
|
|
}
|