supplier_invoice_count.go 628 B

1234567891011121314151617181920212223
  1. package http_model
  2. type InvoiceCountRequest struct {
  3. SupplierId int `json:"supplier_id"` // 服务商ID
  4. }
  5. type InvoiceCountData struct {
  6. Stage1 int64 `json:"stage_1"` // 可回发票数量
  7. Stage2 int64 `json:"stage_2"` // 待传发票数量
  8. Stage3 int64 `json:"stage_3"` // 平台确认中数量
  9. Stage4 int64 `json:"stage_4"` // 已回发票数量
  10. Stage5 int64 `json:"stage_5"` // 驳回发票数量
  11. }
  12. func NewInvoiceCountRequest() *InvoiceCountRequest {
  13. return new(InvoiceCountRequest)
  14. }
  15. func NewInvoiceCountResponse() *CommonResponse {
  16. resp := new(CommonResponse)
  17. resp.Data = new(InvoiceCountData)
  18. return resp
  19. }