广告平台(站长使用)
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

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