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

3 月之前
12345678910111213141516171819202122232425
  1. package enum
  2. type MediumSettlementWithFlowKind int32
  3. const (
  4. MediumSettlementWithFlowKindForBasicIncome = 1
  5. MediumSettlementWithFlowKindForOtherIncome = 2
  6. MediumSettlementWithFlowKindForAddOtherIncome = 3
  7. MediumSettlementWithFlowKindForSubOtherIncome = 4
  8. )
  9. func (gt MediumSettlementWithFlowKind) String() string {
  10. switch gt {
  11. case MediumSettlementWithFlowKindForBasicIncome:
  12. return "基础收益"
  13. case MediumSettlementWithFlowKindForOtherIncome:
  14. return "其他收益"
  15. case MediumSettlementWithFlowKindForAddOtherIncome:
  16. return "管理员增加其他收益"
  17. case MediumSettlementWithFlowKindForSubOtherIncome:
  18. return "管理员减少其他收益"
  19. default:
  20. return "未知"
  21. }
  22. }