|
12345678910111213141516171819 |
- package enum
-
- type FactorySetIsOpenNaturalCustomer int32
-
- const (
- FactorySetIsOpenNaturalCustomerForYes = 1
- FactorySetIsOpenNaturalCustomerForNo = 2
- )
-
- func (gt FactorySetIsOpenNaturalCustomer) String() string {
- switch gt {
- case FactorySetIsOpenNaturalCustomerForYes:
- return "开启自然顾客"
- case FactorySetIsOpenNaturalCustomerForNo:
- return "关闭自然顾客"
- default:
- return "未知"
- }
- }
|