Versions in this module Expand all Collapse all v0 v0.2.13 Dec 2, 2024 v0.2.12 Nov 5, 2024 v0.2.11 Nov 4, 2024 v0.2.10 Nov 3, 2024 v0.2.9 Oct 24, 2024 v0.2.8 Oct 24, 2024 v0.2.7 Jul 9, 2024 v0.2.6 Jun 4, 2024 v0.2.5 Apr 1, 2024 Changes in this version + const RoleDataPermissionAll + const RoleDataPermissionDept + const RoleDataPermissionDeptAndSub + const RoleDataPermissionSelf + const RoleStatusDisable + const RoleStatusNormal + const RoleTypeNormal + const RoleTypeProject + const RoleTypeSuperAdmin + const ThirdSourceCodeDingtalk + const ThirdSourceStatusEnabled + const UserStatusLeaved + const UserStatusNormal + type Department struct + ChildCount int + CreateTime int64 + ExternalID string + ExternalJson string + FullPath string + ID uint64 + Name string + OrderNum int + ParentID uint64 + UpdateTime int64 + func (_ *Department) TableComment() string + func (d *Department) UnmarshalJSON(b []byte) error + type Resource struct + CreateTime int64 + ID uint64 + ResourceCode string + ResourceName string + Type int + UpdateTime int64 + func (_ *Resource) TableComment() string + func (r *Resource) UnmarshalJSON(b []byte) error + type Role struct + CreateTime int64 + DataPermission int + DefaultRole int + Desc string + ID uint64 + Name string + Status int + Style string + Type int + UpdateTime int64 + func (_ *Role) TableComment() string + func (r *Role) UnmarshalJSON(b []byte) error + type RoleResource struct + CreateTime int64 + ID uint64 + ResourceCode string + RoleID uint64 + func (_ *RoleResource) TableComment() string + func (rr *RoleResource) UnmarshalJSON(b []byte) error + type ThirdSource struct + Code string + Configuration string + CorpId string + CreateTime int64 + ID uint64 + MatchConfig string + Name string + Status int + func (_ *ThirdSource) TableComment() string + func (s *ThirdSource) UnmarshalJSON(b []byte) error + type ThirdUser struct + CreateTime int64 + ID uint64 + Info string + OpenID string + SourceCode string + SourceID uint64 + Status int + UnionID string + UserID uint64 + func (_ *ThirdUser) TableComment() string + func (u *ThirdUser) UnmarshalJSON(b []byte) error + type User struct + CreateTime int64 + Email string + ExtType int + ID uint64 + Mobile string + Password string + RealName string + Status int + UpdateTime int64 + Username string + func (_ *User) TableComment() string + func (u *User) UnmarshalJSON(b []byte) error + type UserDepartment struct + CreateTime int64 + DepartmentID uint64 + DepartmentPath string + ExternalJson string + ID uint64 + UpdateTime int64 + UserID uint64 + func (_ *UserDepartment) TableComment() string + func (ud *UserDepartment) UnmarshalJSON(b []byte) error + type UserRole struct + CreateTime int64 + ID uint64 + RoleID uint64 + UserID uint64 + func (_ *UserRole) TableComment() string + func (ur *UserRole) UnmarshalJSON(b []byte) error v0.2.4 Dec 29, 2023 v0.2.3 Dec 8, 2023 v0.2.2 Nov 27, 2023 v0.2.1 Nov 6, 2023 v0.2.0 Jul 24, 2023 v0.1.2 Nov 27, 2023 v0.1.1 Jul 10, 2023 v0.1.0 Jun 30, 2023