18 lines
501 B
Go
18 lines
501 B
Go
package entity
|
|
|
|
import "time"
|
|
|
|
type Trade struct {
|
|
ID string `json:"id"`
|
|
CouponID string `json:"couponId"`
|
|
BuyOrderID string `json:"buyOrderId"`
|
|
SellOrderID string `json:"sellOrderId"`
|
|
BuyerID string `json:"buyerId"`
|
|
SellerID string `json:"sellerId"`
|
|
Price float64 `json:"price"`
|
|
Quantity int `json:"quantity"`
|
|
BuyerFee float64 `json:"buyerFee"`
|
|
SellerFee float64 `json:"sellerFee"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
}
|