package request import "aps_crm/model" type AddSalesRefundRequest struct { SalesRefund SalesRefund `json:"salesRefund"` } type SalesRefund struct { ClientId int `json:"clientId"` Number string `json:"number"` MemberId int `json:"memberId"` RefundDate string `json:"refundDate"` RefundMethod string `json:"refundMethod"` AccountId int `json:"accountId"` IsInvoice int `json:"isInvoice"` Reason string `json:"reason"` Products []model.Product `json:"products"` } type UpdateSalesRefundRequest struct { Id int `json:"id"` SalesRefund SalesRefund `json:"salesRefund"` }