changed column name
This commit is contained in:
1 parent
3ba5597a51
commit
08be61cbcd
33 files changed
+544
-2129
No files matched your search
@@ -11,30 +11,30 @@ type PaymentCardDTO struct {
|
||||
Price float64 `json:"price"`
|
||||
Title LocalizedText `json:"title"`
|
||||
Content LocalizedText `json:"content"`
|
||||
Status bool `json:"status"`
|
||||
Active bool `json:"active"`
|
||||
}
|
||||
|
||||
type CreatePaymentCardDTO struct {
|
||||
Price float64 `json:"price" binding:"required"`
|
||||
Title LocalizedText `json:"title" binding:"required"`
|
||||
Content LocalizedText `json:"content" binding:"required"`
|
||||
Status *bool `json:"status"`
|
||||
Active *bool `json:"active"`
|
||||
}
|
||||
|
||||
type UpdatePaymentCardDTO struct {
|
||||
Price float64 `json:"price" binding:"required"`
|
||||
Title LocalizedText `json:"title" binding:"required"`
|
||||
Content LocalizedText `json:"content" binding:"required"`
|
||||
Status bool `json:"status"`
|
||||
Active bool `json:"active"`
|
||||
}
|
||||
|
||||
type UpdatePaymentCardStatusDTO struct {
|
||||
Status bool `json:"status"`
|
||||
type UpdatePaymentCardActiveDTO struct {
|
||||
Active bool `json:"active"`
|
||||
}
|
||||
|
||||
type ListFilter struct {
|
||||
CardName string
|
||||
Status *bool
|
||||
Active *bool
|
||||
Page int
|
||||
Limit int
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user