25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package enum
-
- type EnterpriseState int32
-
- const (
- EnterpriseStateForNormal = 1
- EnterpriseStateForFreeze = 2
- )
-
- func (gt EnterpriseState) String() string {
- switch gt {
- case EnterpriseStateForNormal:
- return "正常"
- case EnterpriseStateForFreeze:
- return "冻结"
- default:
- return "未知"
- }
- }
-
- type EnterprisePvd int32
-
- const (
- EnterprisePvdByCentralKitchenForSchool = 1
- EnterprisePvdByCentralKitchenForFactory = 2
- EnterprisePvdBySelfSupportForSchool = 3
- EnterprisePvdBySelfSupportForFactory = 4
- EnterprisePvdByNursingHome = 5
- )
-
- func (gt EnterprisePvd) String() string {
- switch gt {
- case EnterprisePvdByCentralKitchenForSchool:
- return "央厨-学校"
- case EnterprisePvdByCentralKitchenForFactory:
- return "央厨-工厂"
- case EnterprisePvdBySelfSupportForSchool:
- return "自营-学校"
- case EnterprisePvdBySelfSupportForFactory:
- return "自营-工厂"
- case EnterprisePvdByNursingHome:
- return "养老院"
- default:
- return "未知"
- }
- }
|