作者 yangfu

init

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