广告平台(站长使用)
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }