mirror of
https://shylinux.com/x/enterprise
synced 2025-04-25 17:18:06 +08:00
add some
This commit is contained in:
parent
8e782add86
commit
82a0aa2c32
25
src/zijinlian/capital.go
Normal file
25
src/zijinlian/capital.go
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
package zijinlian
|
||||||
|
|
||||||
|
import "shylinux.com/x/ice"
|
||||||
|
|
||||||
|
type capital struct{ Table }
|
||||||
|
|
||||||
|
func init() { ice.TeamCtxCmd(capital{}) }
|
||||||
|
|
||||||
|
type CapitalType int
|
||||||
|
|
||||||
|
const (
|
||||||
|
CapitalBank CapitalType = iota
|
||||||
|
CapitalAngel
|
||||||
|
CapitalVenture
|
||||||
|
CapitalPrivate
|
||||||
|
)
|
||||||
|
|
||||||
|
var CapitalTypeList = map[CapitalType]string{
|
||||||
|
CapitalBank: "bank",
|
||||||
|
CapitalAngel: "angel",
|
||||||
|
CapitalVenture: "venture",
|
||||||
|
CapitalPrivate: "private",
|
||||||
|
}
|
||||||
|
|
||||||
|
func (s CapitalType) String() string { return CapitalTypeList[s] }
|
15
src/zijinlian/userCapital.go
Normal file
15
src/zijinlian/userCapital.go
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
package zijinlian
|
||||||
|
|
||||||
|
import (
|
||||||
|
"shylinux.com/x/ice"
|
||||||
|
|
||||||
|
"shylinux.com/x/enterprise/src/guanlixitong"
|
||||||
|
)
|
||||||
|
|
||||||
|
type userCapital struct{ Table }
|
||||||
|
|
||||||
|
func init() { ice.TeamCtxCmd(userCapital{}) }
|
||||||
|
|
||||||
|
type UserCapitalRole = guanlixitong.UserGroupRole
|
||||||
|
|
||||||
|
var UserCapitalRoleList = guanlixitong.UserGroupRoleList
|
Loading…
x
Reference in New Issue
Block a user