作者 tangxuhui

删除无用的domain

1 -package domain  
2 -  
3 -import "time"  
4 -  
5 -//TODO 移除文件  
6 -// 公司信息  
7 -type CompanyInfo struct {  
8 - CompanyId string `json:"companyId"`  
9 - // 企业名称  
10 - CompanyName string `json:"companyName"`  
11 - // 规模  
12 - Scale string `json:"scale"`  
13 - // 公司Logo地址  
14 - Logo string `json:"logo"`  
15 - // 地址  
16 - Address string `json:"address"`  
17 - // 所属行业  
18 - IndustryCategory string `json:"industryCategory"`  
19 - // 联系人  
20 - Contacts string `json:"contacts"`  
21 - // 注册时间  
22 - RegisteredTime time.Time `json:"registeredTime"`  
23 - // 注册状态 1:已注册 2:待认证 3:已认证  
24 - RegistStatus int64 `json:"registStatus"`  
25 -}  
1 -package domain  
2 -  
3 -//TODO 移除文件  
4 -type CooperationInfo struct {  
5 - // 共创公司  
6 - CooperationCompany string `json:"cooperationCompany"`  
7 - // 共创公司到期时间  
8 - CooperationDeadline string `json:"cooperationDeadline"`  
9 -}  
1 -package domain  
2 -  
3 -//TODO 移除文件  
4 -// 部门  
5 -type Department struct {  
6 - // 组织ID  
7 - OrgId int64 `json:"orgId"`  
8 - // 组织名称  
9 - OrgName string `json:"orgName"`  
10 - // 组织编码  
11 - OrgCode string `json:"orgCode"`  
12 - // 父级id  
13 - ParentId int64 `json:"parentId"`  
14 -}  
1 -package domain  
2 -  
3 -//TODO 移除文件  
4 -//Dictionary 字典  
5 -type Dictionary struct {  
6 - // 字典编号 主键  
7 - DictionaryId int64 `json:"dictionaryId"`  
8 - // 字典编码  
9 - DictCode string `json:"dictCode"`  
10 - // 字典名称  
11 - DictName string `json:"dictName"`  
12 - // 备注信息  
13 - Describe string `json:"describe"`  
14 - // 字典值列表  
15 - DictItems []DictionaryItem `json:"dictItems"`  
16 -}  
1 -package domain  
2 -  
3 -//TODO 移除文件  
4 -//DictionaryItem 字典明细项  
5 -type DictionaryItem struct {  
6 - // 项编码  
7 - ItemCode string `json:"itemCode"`  
8 - // 项标签  
9 - ItemLabel string `json:"itemLabel"`  
10 - // 值  
11 - ItemValue string `json:"itemValue"`  
12 - // 是否可见【1:不可以】【2:可以】  
13 - IsShow int `json:"isShow"`  
14 - // 显示序号  
15 - Sort int `json:"sort"`  
16 -}  
17 -  
18 -type DictionaryItemShow int  
19 -  
20 -const (  
21 - DictionaryItemIsShow int = 1 //不可见  
22 - DictionaryItemNotShow int = 2 //可见  
23 -)  
1 -package domain  
2 -  
3 -//TODO 移除文件  
4 -// 系统菜单  
5 -type Menu struct {  
6 - // 菜单编号  
7 - MenuId int64 `json:"menuId"`  
8 - // 父级id  
9 - ParentId int64 `json:"parentId"`  
10 - // 菜单名称  
11 - MenuName string `json:"menuName"`  
12 - // 菜单别名  
13 - MenuAlias string `json:"menuAlias"`  
14 - // 菜单编码 SYSTEM_USER_EDIT  
15 - Code string `json:"code"`  
16 - // 菜单类型 (目录catalog、菜单menu、按钮button)  
17 - MenuType string `json:"menuType"`  
18 - // 菜单图标  
19 - Icon string `json:"icon"`  
20 - // 排序  
21 - Sort int `json:"sort"`  
22 - // 菜单说明  
23 - Remark string `json:"remark"`  
24 - // 菜单类别 (web:1、app:2)  
25 - Category string `json:"category"`  
26 -}  
1 -package domain  
2 -  
3 -// 登录系统的操作人员 可以从toke中获取数据  
4 -type Operator struct {  
5 - UserId int64 `json:"userId"`  
6 - CompanyId int64 `json:"companyId"`  
7 - OrgId int64 `json:"orgId"`  
8 - UserBaseId int64 `json:"userBaseId"`  
9 -}  
1 -package domain  
2 -  
3 -//TODO 移除文件  
4 -// 组织organization  
5 -type Orgs struct {  
6 - // 组织ID  
7 - OrgId string `json:"orgId"`  
8 - // 企业id  
9 - CompanyId string `json:"companyId"`  
10 - // 组织编码  
11 - OrgCode string `json:"orgCode"`  
12 - // 组织名称  
13 - OrgName string `json:"orgName"`  
14 - IsOrg string `json:"isOrg"`  
15 - // 父级id  
16 - ParentId int64 `json:"parentId"`  
17 -}  
1 -package domain  
2 -  
3 -//TODO 移除文件  
4 -// 区域信息值对象  
5 -type RegionInfo struct {  
6 - // 区域编号  
7 - RegionNumber string `json:"regionNumber"`  
8 - // 区域名称  
9 - RegionName string `json:"regionName"`  
10 -}  
1 -package domain  
2 -  
3 -//TODO 移除文件  
4 -// 角色 (base)  
5 -type Roles struct {  
6 - // 角色ID  
7 - RoleId string `json:"roleId"`  
8 - // 角色名称  
9 - RoleName string `json:"roleName"`  
10 - // 描述  
11 - Desc string `json:"desc"`  
12 - // 用户的组织  
13 - Org *Orgs `json:"org,omitempty,"`  
14 - // 用户的部门  
15 - Department *Department `json:"department,omitempty,"`  
16 -}  
1 -package domain  
2 -  
3 -//TODO 移除文件  
4 -// 用户基础信息  
5 -type Users struct {  
6 - // 用户id  
7 - UserId string `json:"userId"`  
8 - // 用户基础信息  
9 - UserInfo *UsersBase `json:"userInfo,omitempty,"`  
10 - // 用户的组织  
11 - Org *Orgs `json:"org,omitempty,"`  
12 - // 用户的部门  
13 - Department *Department `json:"department,omitempty,"`  
14 -  
15 - Company *CompanyInfo `json:"company,omitempty,"`  
16 -  
17 - UserOrg []Orgs `json:"userOrg"`  
18 - UserRole []Roles `json:"userRole"`  
19 -}  
1 -package domain  
2 -  
3 -import "time"  
4 -  
5 -//TODO 移除文件  
6 -// 用户基础信息  
7 -type UsersBase struct {  
8 - UserId string `json:"userId"`  
9 - UserBaseId string `json:"userBaseId"`  
10 - UserType int `json:"userType"`  
11 - // 用户状态,1启用,2禁用  
12 - EnableStatus int `json:"enableStatus"`  
13 - // 手机号码  
14 - Phone string `json:"phone"`  
15 - // 用户编号  
16 - UserCode string `json:"userCode"`  
17 - // 用户姓名  
18 - UserName string `json:"userName"`  
19 - // 邮箱  
20 - Email string `json:"email"`  
21 - //头像  
22 - Avatar string `json:"avatar"`  
23 - // 共创公司  
24 - CooperationCompany string `json:"cooperationCompany"`  
25 - // 共创公司到期时间  
26 - CooperationDeadline time.Time `json:"cooperationDeadline"`  
27 -}