智慧食堂
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.

20 lines
410 B

  1. package enum
  2. type FactorySetIsOpenNaturalCustomer int32
  3. const (
  4. FactorySetIsOpenNaturalCustomerForYes = 1
  5. FactorySetIsOpenNaturalCustomerForNo = 2
  6. )
  7. func (gt FactorySetIsOpenNaturalCustomer) String() string {
  8. switch gt {
  9. case FactorySetIsOpenNaturalCustomerForYes:
  10. return "开启自然顾客"
  11. case FactorySetIsOpenNaturalCustomerForNo:
  12. return "关闭自然顾客"
  13. default:
  14. return "未知"
  15. }
  16. }