广告平台(站长使用)
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
557 B

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