2024-08-12 20:18:11 +08:00

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] }