mirror of
https://shylinux.com/x/enterprise
synced 2025-04-26 01:24:06 +08:00
30 lines
494 B
Go
30 lines
494 B
Go
package guanlixitong
|
|
|
|
import "shylinux.com/x/ice"
|
|
|
|
type group struct{ Table }
|
|
|
|
func init() { ice.TeamCtxCmd(group{}) }
|
|
|
|
type GroupType int
|
|
|
|
const (
|
|
GroupRD GroupType = iota
|
|
GroupOP
|
|
GroupHR
|
|
GroupFinancial
|
|
GroupAdmin
|
|
GroupSales
|
|
)
|
|
|
|
var GroupTypeList = map[GroupType]string{
|
|
GroupRD: "RD",
|
|
GroupOP: "OP",
|
|
GroupHR: "HR",
|
|
GroupFinancial: "financial",
|
|
GroupAdmin: "admin",
|
|
GroupSales: "sales",
|
|
}
|
|
|
|
func (s GroupType) String() string { return GroupTypeList[s] }
|