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

26 行
695 B

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