package paymentcard import "online-back/internal/shared" type PaymentCardDTO struct { Id int64 `json:"id"` Price string `json:"price"` Title shared.LocalizedText `json:"title"` Notes string `json:"notes"` Active bool `json:"active"` } type CreatePaymentCardDTO struct { Price string `json:"price" binding:"required"` Title shared.LocalizedText `json:"title" binding:"required"` Notes string `json:"notes"` Active *bool `json:"active"` } type UpdatePaymentCardDTO struct { Price string `json:"price" binding:"required"` Title shared.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"` }