package paymentcard type LocalizedText struct { En string `json:"en"` Ru string `json:"ru"` Tm string `json:"tm"` } type PaymentCardDTO struct { Id int64 `json:"id"` Price string `json:"price"` Title LocalizedText `json:"title"` Notes string `json:"notes"` Active bool `json:"active"` } type CreatePaymentCardDTO struct { Price string `json:"price" binding:"required"` Title LocalizedText `json:"title" binding:"required"` Notes string `json:"notes"` Active *bool `json:"active"` } type UpdatePaymentCardDTO struct { Price string `json:"price" binding:"required"` Title LocalizedText `json:"title" binding:"required"` Notes string `json:"notes"` Active bool `json:"active"` } type UpdatePaymentCardActiveDTO struct { Active bool `json:"active"` } type ListFilter struct { CardName string Active *bool Page int Limit int } type ListPaymentCardDTO struct { Count int64 `json:"count"` PaymentCards []PaymentCardDTO `json:"paymentCards"` }