package reasonscard import ( "time" "online-back/internal/shared" ) type ReasonCardDTO struct { Id int64 `json:"id"` Title shared.LocalizedText `json:"title"` Price string `json:"price"` Notes string `json:"notes"` Active bool `json:"active"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` } type CreateReasonCardDTO struct { Title shared.LocalizedText `json:"title" binding:"required"` Price string `json:"price" binding:"required"` Notes string `json:"notes"` Active *bool `json:"active"` } type UpdateReasonCardDTO struct { Title shared.LocalizedText `json:"title" binding:"required"` Price string `json:"price" binding:"required"` Notes string `json:"notes"` Active bool `json:"active"` } type ListFilter struct { ReasonName string Page int Limit int } type ListReasonCardDTO struct { Count int64 `json:"count"` ReasonCards []ReasonCardDTO `json:"reasonCards"` }