You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.0 KiB
Go

package common
// GoodsType 类型
//
//go:generate stringer -type=GoodsType --linecomment
//go:generate generate --file=consts.go --type=GoodsType
type GoodsType int
const (
GoodsTypeSolidDoor GoodsType = 1 // 实木门
GoodsTypeCompositeDoor GoodsType = 2 // 复合板门
GoodsTypeChair GoodsType = 3 // 椅子
GoodsTypeCombo GoodsType = 4 // 组合
GoodsTypeVanity GoodsType = 5 // 浴室柜
GoodsTypeCloset GoodsType = 6 // 衣柜
GoodsTypeMDKitchen GoodsType = 7 // 现代橱柜
GoodsTypeCCKitchen GoodsType = 8 // 古典橱柜
GoodsTypeBed GoodsType = 9 // 床
GoodsTypeMattress GoodsType = 10 // 床垫
GoodsTypeLivingRoom GoodsType = 11 // 客厅
GoodsTypeDiningRoom GoodsType = 12 // 餐厅
)
// LangType 文字类型
//
//go:generate stringer -type=LangType --linecomment
//go:generate generate --file=consts.go --type=LangType
type LangType int
const (
LangTypeChinese LangType = 1 // 中文
LangTypeEnglish LangType = 2 // 英文
)