liujiandao
2024-04-10 45778cdd4a7829039fef3d262dc7999bb0628f93
constvar/const.go
@@ -8,3 +8,41 @@
   DictTypeColor                    //颜色
   DictTypeSpec                     //规格
)
type UserType int
const (
   UserTypeSuper   UserType = iota + 1 // 超级管理员
   UserTypePrimary                     // 主账户
   UserTypeSub                         // 子账户
)
type CarFlag int
const (
   LeftHalfCar  CarFlag = iota + 1 //左半车
   RightHalfCar                    //右半车
   AllCar                          //全车结束
)
type CheckItem int
const (
   CheckItemDeviation    CheckItem = iota + 1 //纤度偏差
   CheckItemTwiceChange                       //二次变化
   CheckItemCleanliness                       //清洁分
   CheckItemPurity                            //洁净分
   CheckItemMaxDeviation                      //最大偏差
)
type BadFinenessGrade string
const (
   BadFinenessGradeA = "badA"
   BadFinenessGradeB = "badB"
   BadFinenessGradeC = "badC"
)
const (
   EveryPersonCarCheckNumber = 2 //每人每车抽检份数
)