广告平台(站长使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

56 lines
1.5 KiB

  1. package enum
  2. type AgentSettlementPayState int32
  3. const (
  4. AgentSettlementPayStateForNotStarted = 0
  5. AgentSettlementPayStateForPendingInvoiceReview = 1
  6. AgentSettlementPayStateForInvoiceReviewProgress = 2
  7. AgentSettlementPayStateForInvoiceReviewRejected = 3
  8. AgentSettlementPayStateForPaymentIng = 4
  9. AgentSettlementPayStateForPaymentAlready = 5
  10. )
  11. func (gt AgentSettlementPayState) String() string {
  12. switch gt {
  13. case AgentSettlementPayStateForNotStarted:
  14. return "未开始"
  15. case AgentSettlementPayStateForPendingInvoiceReview:
  16. return "待审核发票"
  17. case AgentSettlementPayStateForInvoiceReviewProgress:
  18. return "发票审核中"
  19. case AgentSettlementPayStateForInvoiceReviewRejected:
  20. return "发票审核拒绝"
  21. case AgentSettlementPayStateForPaymentIng:
  22. return "付款中"
  23. case AgentSettlementPayStateForPaymentAlready:
  24. return "已付款"
  25. default:
  26. return "未知"
  27. }
  28. }
  29. type AgentSettlementState int32
  30. const (
  31. AgentSettlementStateForNotStarted = 0
  32. AgentSettlementStateForAccountingInProgress = 1
  33. AgentSettlementStateForToBeSign = 2
  34. AgentSettlementStateForCompleteSign = 3
  35. )
  36. func (gt AgentSettlementState) String() string {
  37. switch gt {
  38. case AgentSettlementStateForNotStarted:
  39. return "未开始"
  40. case AgentSettlementStateForAccountingInProgress:
  41. return "核算中"
  42. case AgentSettlementStateForToBeSign:
  43. return "待签订"
  44. case AgentSettlementStateForCompleteSign:
  45. return "已完成签订"
  46. default:
  47. return "未知"
  48. }
  49. }