作者 yangfu

init

  1 +# Compiled Object codefiles, Static and Dynamic libs (Shared Objects)
  2 +*.o
  3 +*.a
  4 +*.so
  5 +
  6 +# Folders
  7 +_obj
  8 +_test
  9 +
  10 +# Architecture specific extensions/prefixes
  11 +*.[568vq]
  12 +[568vq].out
  13 +
  14 +*.cgo1.go
  15 +*.cgo2.c
  16 +_cgo_defun.c
  17 +_cgo_gotypes.go
  18 +_cgo_export.*
  19 +
  20 +_testmain.go
  21 +
  22 +*.exe
  23 +*.test
  24 +.log
  25 +.idea
  26 +.tmp
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: count
  5 + description: 匹配数目
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: createAt
  5 + description: 创建时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: deleteAt
  5 + description: 删除时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: limit
  5 + description: 查询限制
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: offset
  5 + description: 查询偏离量
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: updateAt
  5 + description: 更新时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyId
  5 + description: 企业id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyName
  5 + description: 企业名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: organizationCode
  5 + description: 组织编码
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: organizationId
  5 + description: 组织ID
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: organizationName
  5 + description: 组织名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: roleId
  5 + description: 角色ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: roleName
  5 + description: 角色名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: status
  5 + description: 用户状态
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersCode
  5 + description: 用户编号
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersId
  5 + description: 用户编号
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersName
  5 + description: 用户姓名
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersAuthId
  5 + description: 用户认证Id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Project
  3 +metadata:
  4 + name: project
  5 + description: 天联企业管理系统
  6 + version: 0.0.1
  7 + repository: gitlab.fjmaimaimai.com/mmm-go-pp/terms
  8 + contact:
  9 + name:
  10 + email:
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: access
  5 + description: 权限
  6 + attributes:
  7 + - name: accessId
  8 + description: 权限Id
  9 + type:
  10 + primitive: int64
  11 + - name: accessName
  12 + description: 权限名称
  13 + type:
  14 + primitive: string
  15 + - name: parentId
  16 + description: 父级ID
  17 + type:
  18 + primitive: string
  19 + - name: module
  20 + description: 模块 I M B R 首页、管理、业务、报表
  21 + type:
  22 + primitive: string
  23 + - name: accessType
  24 + description: 权限类型(module/menu/button/feature)
  25 + type:
  26 + primitive: string
  27 + - name: status
  28 + description: 状态 1:启用 2:可配置 4.可收藏 8:需要授权才能访问
  29 + type:
  30 + primitive: string
  31 + - name: sort
  32 + description: 排序
  33 + type:
  34 + primitive: int
  35 + - name: icon
  36 + description: 图标
  37 + type:
  38 + primitive: string
  39 + - name: description
  40 + description: 描述
  41 + type:
  42 + primitive: string
  43 + - name: object
  44 + description: 对象 eg:/users/userInfo
  45 + type:
  46 + primitive: string
  47 + - name: action
  48 + description: 允许动作 eg:GET
  49 + type:
  50 + primitive: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: company
  5 + description: 企业信息
  6 + attributes:
  7 + - ref: companyId
  8 + required: true
  9 + - name: companyConfig
  10 + description: 企业配置信息
  11 + type:
  12 + schema: companyConfig
  13 + - name: companyInfo
  14 + description: 企业基本信息
  15 + type:
  16 + schema: companyInfo
  17 + - name: status
  18 + description: 公司状态
  19 + type:
  20 + primitive: int
  21 + - ref: createAt
  22 + required: false
  23 + - ref: updateAt
  24 + required: false
  25 +
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: companyConfig
  5 + description: 公司配置信息
  6 + attributes:
  7 + - name: systemName
  8 + description: 系统名称
  9 + type:
  10 + primitive: string
  11 + - name: theme
  12 + description: 主题
  13 + type:
  14 + primitive: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: companyInfo
  5 + description: 公司信息
  6 + attributes:
  7 + - name: companyName
  8 + description: 公司名称
  9 + type:
  10 + primitive: string
  11 + - name: scale
  12 + description: 规模
  13 + type:
  14 + primitive: string
  15 + - name: logo
  16 + description: 公司Logo地址
  17 + type:
  18 + primitive: string
  19 + - name: address
  20 + description: 公司地址
  21 + type:
  22 + primitive: string
  23 + - name: taxpayerCode
  24 + description: 纳税人识别号
  25 + type:
  26 + primitive: string
  27 + - name: businessLicense
  28 + description: 营业执照
  29 + type:
  30 + primitive: string
  31 + - name: industryCategory
  32 + description: 所属行业
  33 + type:
  34 + primitive: string
  35 + - name: contacts
  36 + description: 联系人
  37 + type:
  38 + primitive: string
  39 + - name: registTime
  40 + description: 注册时间
  41 + type:
  42 + primitive: datetime
  43 + - name: registStatus
  44 + description: 注册状态
  45 + type:
  46 + primitive: int
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: credentialAuth
  5 + description: 凭证认证
  6 + attributes:
  7 + - name: credential
  8 + description: 凭证
  9 + type:
  10 + primitive: string
  11 + - name: deviceType
  12 + description: 设备类型
  13 + type:
  14 + primitive: string
  15 + - name: expire
  16 + description: 过期时间蹉(unix)
  17 + type:
  18 + primitive: int64
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: organization
  5 + description: 组织
  6 + attributes:
  7 + - ref: organizationId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: createAt
  12 + required: true
  13 + - ref: updateAt
  14 + required: true
  15 + - ref: deleteAt
  16 + required: true
  17 + - name: organizationInfo
  18 + description: 组织信息
  19 + type:
  20 + schema: organizationInfo
  21 + - name: isOrg
  22 + description: 是否是组织
  23 + type:
  24 + primitive: int
  25 + - name: parentId
  26 + description: 父级ID
  27 + type:
  28 + primitive: int64
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: organizationInfo
  5 + description: 组织信息
  6 + attributes:
  7 + - ref: organizationCode
  8 + required: true
  9 + - ref: organizationName
  10 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: phoneAuth
  5 + description: 手机认证
  6 + attributes:
  7 + - name: phone
  8 + description: 手机号
  9 + type:
  10 + primitive: string
  11 + - name: password
  12 + description: 密码
  13 + type:
  14 + primitive: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: role
  5 + description: 角色
  6 + attributes:
  7 + - ref: roleId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: organizationId
  12 + required: true
  13 + - ref: roleName
  14 + required: true
  15 + - name: menuAccess
  16 + description: 菜单权限列表
  17 + type:
  18 + array: int64
  19 + - name: description
  20 + description: 描述
  21 + type:
  22 + primitive: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: users
  5 + description: 用户
  6 + attributes:
  7 + - ref: usersId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: createAt
  12 + required: true
  13 + - ref: updateAt
  14 + required: true
  15 + - ref: deleteAt
  16 + required: true
  17 + - name: usersStatus
  18 + description: 用户状态(启用:1 禁用:2)
  19 + type:
  20 + primitive: int
  21 + - name: usersInfo
  22 + description: 用户信息
  23 + type:
  24 + schema: usersInfo
  25 + - name: organizations
  26 + description: 所属组织
  27 + type:
  28 + array: int64
  29 + - name: roles
  30 + description: 所属角色
  31 + type:
  32 + array: int64
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: usersAuth
  5 + description: 用户认证
  6 + attributes:
  7 + - ref: usersAuthId
  8 + required: true
  9 + - name: users
  10 + description: 用户列表
  11 + type:
  12 + array: int64
  13 + - name: phoneAuth
  14 + description: 手机认证
  15 + type:
  16 + schemal: phoneAuth
  17 + - name: credentialAuths
  18 + description: 凭证认证
  19 + type:
  20 + array: credentialAuth
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: usersInfo
  5 + description: 用户信息
  6 + attributes:
  7 + - ref: usersName
  8 + required: true
  9 + - ref: usersCode
  10 + required: true
  11 + - name: phone
  12 + description: 手机号码
  13 + type:
  14 + primitive: string
  15 + - name: email
  16 + description: 邮箱
  17 + type:
  18 + primitive: string