广告平台(站长使用)
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 

56 řádky
1.5 KiB

  1. package enum
  2. type MediumSettlementPayState int32
  3. const (
  4. MediumSettlementPayStateForNotStarted = 0
  5. MediumSettlementPayStateForPendingInvoiceReview = 1
  6. MediumSettlementPayStateForInvoiceReviewProgress = 2
  7. MediumSettlementPayStateForInvoiceReviewRejected = 3
  8. MediumSettlementPayStateForPaymentIng = 4
  9. MediumSettlementPayStateForPaymentAlready = 5
  10. )
  11. func (gt MediumSettlementPayState) String() string {
  12. switch gt {
  13. case MediumSettlementPayStateForNotStarted:
  14. return "未开始"
  15. case MediumSettlementPayStateForPendingInvoiceReview:
  16. return "待审核发票"
  17. case MediumSettlementPayStateForInvoiceReviewProgress:
  18. return "发票审核中"
  19. case MediumSettlementPayStateForInvoiceReviewRejected:
  20. return "发票审核拒绝"
  21. case MediumSettlementPayStateForPaymentIng:
  22. return "付款中"
  23. case MediumSettlementPayStateForPaymentAlready:
  24. return "已付款"
  25. default:
  26. return "未知"
  27. }
  28. }
  29. type MediumSettlementState int32
  30. const (
  31. MediumSettlementStateForNotStarted = 0
  32. MediumSettlementStateForAccountingInProgress = 1
  33. MediumSettlementStateForToBeSign = 2
  34. MediumSettlementStateForCompleteSign = 3
  35. )
  36. func (gt MediumSettlementState) String() string {
  37. switch gt {
  38. case MediumSettlementStateForNotStarted:
  39. return "未开始"
  40. case MediumSettlementStateForAccountingInProgress:
  41. return "核算中"
  42. case MediumSettlementStateForToBeSign:
  43. return "待签订"
  44. case MediumSettlementStateForCompleteSign:
  45. return "已完成签订"
  46. default:
  47. return "未知"
  48. }
  49. }