Update History
This commit is contained in:
@@ -10,6 +10,7 @@ type Order struct {
|
||||
PartnerID int64 `gorm:"type:int;column:partner_id"`
|
||||
Status string `gorm:"type:varchar;column:status"`
|
||||
Amount float64 `gorm:"type:numeric;not null;column:amount"`
|
||||
SiteID *int64 `gorm:"type:numeric;not null;column:site_id"`
|
||||
CreatedAt time.Time `gorm:"autoCreateTime;column:created_at"`
|
||||
UpdatedAt time.Time `gorm:"autoUpdateTime;column:updated_at"`
|
||||
CreatedBy int64 `gorm:"type:int;column:created_by"`
|
||||
@@ -117,10 +118,14 @@ type HistoryOrderDB struct {
|
||||
|
||||
type OrderSearch struct {
|
||||
PartnerID *int64
|
||||
SiteID *int64
|
||||
IsAdmin bool
|
||||
PaymentType string
|
||||
Status string
|
||||
Limit int
|
||||
Offset int
|
||||
StartDate string
|
||||
EndDate string
|
||||
}
|
||||
|
||||
type HistoryOrderList []*HistoryOrderDB
|
||||
|
||||
Reference in New Issue
Block a user