package validate_service

type Wallet struct {
	Name        string  `json:"name" validate:"required"`
	DownloadUrl string  `json:"download_url" validate:"required,url"`
	Introduce   string  `json:"introduce" validate:"required"`
	Summary     string  `json:"summary, omitempty"`
	ChainId     int     `json:"chain_id, omitempty"`
	IssueCharge float32 `json:"issue_charge, omitempty"`
	ChargeUnit  string  `json:"charge_unit, omitempty"`
}

type EditWallet struct {
	Wallet
	Id int `json:"id" validate:"required"`
}
