广告平台(站长使用)
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.

enum_medium_settlement.go 1.5 KiB

3 months ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. }