feat: add IM file policy and org exports
This commit is contained in:
@@ -38,6 +38,20 @@ type ImOrgDepartmentModel struct {
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"`
|
||||
}
|
||||
|
||||
type ImOrgDepartmentExportModel struct {
|
||||
TenantName string `json:"tenantName" dc:"租户名称"`
|
||||
DepartmentId string `json:"departmentId" dc:"部门ID"`
|
||||
Name string `json:"name" dc:"部门名称"`
|
||||
ParentId string `json:"parentId" dc:"上级部门ID"`
|
||||
SortOrder int `json:"sortOrder" dc:"排序"`
|
||||
Version int `json:"version" dc:"版本"`
|
||||
State string `json:"state" dc:"状态"`
|
||||
ChildCount int `json:"childCount" dc:"子部门数"`
|
||||
MemberCount int `json:"memberCount" dc:"成员数"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"`
|
||||
}
|
||||
|
||||
type ImOrgDepartmentEditInp struct {
|
||||
TenantId int64 `json:"tenantId" dc:"租户ID"`
|
||||
Id int64 `json:"id" dc:"ID"`
|
||||
@@ -112,6 +126,23 @@ type ImOrgMemberModel struct {
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"`
|
||||
}
|
||||
|
||||
type ImOrgMemberExportModel struct {
|
||||
TenantName string `json:"tenantName" dc:"租户名称"`
|
||||
DepartmentId string `json:"departmentId" dc:"部门ID"`
|
||||
DepartmentName string `json:"departmentName" dc:"部门名称"`
|
||||
UserId int64 `json:"userId" dc:"用户ID"`
|
||||
DisplayName string `json:"displayName" dc:"展示名称"`
|
||||
Position string `json:"position" dc:"岗位"`
|
||||
Mobile string `json:"mobile" dc:"手机号"`
|
||||
Email string `json:"email" dc:"邮箱"`
|
||||
EmploymentState string `json:"employmentState" dc:"在职状态"`
|
||||
Contactable int `json:"contactable" dc:"是否可联系"`
|
||||
SortOrder int `json:"sortOrder" dc:"排序"`
|
||||
Version int `json:"version" dc:"版本"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"`
|
||||
}
|
||||
|
||||
type ImOrgMemberEditInp struct {
|
||||
TenantId int64 `json:"tenantId" dc:"租户ID"`
|
||||
Id int64 `json:"id" dc:"ID"`
|
||||
|
||||
Reference in New Issue
Block a user