package models import "time" type CurrencyKey = string type CurrencyList struct { ID string `json:"id" bson:"_id,omitempty"` Name string `json:"name" bson:"name"` Currencies []CurrencyKey `json:"currencies" bson:"currencies"` Deleted bool `json:"deleted" bson:"deleted"` CreatedAt time.Time `json:"createdAt" bson:"createdAt"` UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt"` DeletedAt *time.Time `json:"deletedAt,omitempty" bson:"deletedAt,omitempty"` } const ( DefaultCurrencyListName = "currency_list" )