fabric-samples/full-stack-asset-transfer-guide/contracts/asset-transfer-go/smartcontract/asset.go
vishal c4c4a2589e Add Go implementation of full-stack asset transfer smart contract
Signed-off-by: vishal <httpsvishal07@gmail.com>
2026-06-04 21:27:45 +05:30

14 lines
341 B
Go

/*
SPDX-License-Identifier: Apache-2.0
*/
package smartcontract
// Asset represents a tradeable asset in the world state.
type Asset struct {
ID string `json:"ID"`
Color string `json:"Color"`
Owner string `json:"Owner"`
AppraisedValue int `json:"AppraisedValue"`
Size int `json:"Size"`
}