liujiandao
2024-03-01 6db46482ae4c8dac7161a0e9ded92cff5db7c1a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package constvar
 
type DictType int
 
const (
    DictTypeMarket   DictType = iota //庄口
    DictTypeWorkshop                 //车间
    DictTypeColor                    //颜色
    DictTypeSpec                     //规格
)
 
type UserType int
 
const (
    UserTypeSuper   UserType = iota + 1 // 超级管理员
    UserTypePrimary                     // 主账户
    UserTypeSub                         // 子账户
)
 
type CarFlag int
 
const (
    LeftHalfCar  CarFlag = iota + 1 //左半车
    RightHalfCar                    //右半车
    AllCar                          //全车
)