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

3 月之前
12345678910111213141516171819202122232425
  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. }