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

26 行
547 B

  1. package enum
  2. type AgentSettlementType int32
  3. const (
  4. AgentSettlementTypeForDay = 1
  5. AgentSettlementTypeForWeek = 2
  6. AgentSettlementTypeForMonth = 3
  7. AgentSettlementTypeForPaymentInAdvance = 4
  8. )
  9. func (gt AgentSettlementType) String() string {
  10. switch gt {
  11. case AgentSettlementTypeForDay:
  12. return "日结"
  13. case AgentSettlementTypeForWeek:
  14. return "周结"
  15. case AgentSettlementTypeForMonth:
  16. return "月结"
  17. case AgentSettlementTypeForPaymentInAdvance:
  18. return "预付"
  19. default:
  20. return "未知"
  21. }
  22. }