package reasonscard import "time" type LocalizedText struct { En string `json:"en"` Ru string `json:"ru"` Tm string `json:"tm"` } type ReasonCardDTO struct { Id int64 `json:"id"` Title LocalizedText `json:"title"` Price float64 `json:"price"` Content LocalizedText `json:"content"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` } type CreateReasonCardDTO struct { Title LocalizedText `json:"title" binding:"required"` Price float64 `json:"price" binding:"required"` Content LocalizedText `json:"content" binding:"required"` } type UpdateReasonCardDTO struct { Title LocalizedText `json:"title" binding:"required"` Price float64 `json:"price" binding:"required"` Content LocalizedText `json:"content" binding:"required"` } type ListFilter struct { ReasonName string Page int Limit int } type ListReasonCardDTO struct { Count int64 `json:"count"` ReasonCards []ReasonCardDTO `json:"reasonCards"` }