change table column name
This commit is contained in:
1 parent
ef56625321
commit
41471694d5
11 files changed
+318
-334
No files matched your search
@@ -7,25 +7,25 @@ type LocalizedText struct {
|
||||
}
|
||||
|
||||
type PaymentCardDTO struct {
|
||||
Id int64 `json:"id"`
|
||||
Price float64 `json:"price"`
|
||||
Title LocalizedText `json:"title"`
|
||||
Content LocalizedText `json:"content"`
|
||||
Active bool `json:"active"`
|
||||
Id int64 `json:"id"`
|
||||
Price string `json:"price"`
|
||||
Title LocalizedText `json:"title"`
|
||||
Notes string `json:"notes"`
|
||||
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"`
|
||||
Active *bool `json:"active"`
|
||||
Price string `json:"price" binding:"required"`
|
||||
Title LocalizedText `json:"title" binding:"required"`
|
||||
Notes string `json:"notes"`
|
||||
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"`
|
||||
Active bool `json:"active"`
|
||||
Price string `json:"price" binding:"required"`
|
||||
Title LocalizedText `json:"title" binding:"required"`
|
||||
Notes string `json:"notes"`
|
||||
Active bool `json:"active"`
|
||||
}
|
||||
|
||||
type UpdatePaymentCardActiveDTO struct {
|
||||
|
||||
Reference in new issue
Block a user