作者 yangfu

制造项目初始化

正在显示 93 个修改的文件 包含 852 行增加0 行删除
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: breakTime
  5 + description: 休息时间 (单位 h)
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: calendarSelected
  5 + description: 日历选择
  6 + type:
  7 + array: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: inWorkAt
  5 + description: 上岗时间
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: outWorkAt
  5 + description: 下岗时间
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productCalendarId
  5 + description: 工厂日历ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: workTime
  5 + description: 工时 (单位 h)
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productCalendaryId
  5 + description: 工厂日历ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: code
  5 + description: 编码
  6 + type:
  7 + primitive: int
  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: createdAt
  5 + description: 创建时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: deletedAt
  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: msg
  5 + description: 应答消息
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: offLimit
  5 + description: 是否关闭查询限制 (true:关闭 limit false:开启limit 默认开启)
  6 + type:
  7 + primitive: boolean
  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: pageNumber
  5 + description: 页号 从1开始
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: pageSize
  5 + description: 页数(默认20)
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: updatedAt
  5 + description: 更新时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: workStation
  5 + description: 工作位置
  6 + type:
  7 + schema: workStation
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyId
  5 + description: 企业id
  6 + type:
  7 + primitive: int
  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: logo
  5 + description: 公司Logo地址
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: brand
  5 + description: 品牌
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: deviceCode
  5 + description: 设备编号
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: deviceId
  5 + description: 设备Id
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: deviceModel
  5 + description: 设备型号
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: deviceName
  5 + description: 设备名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: deviceStatus
  5 + description: 设备状态 1:正常 2:封存 3:报废
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: deviceType
  5 + description: 设备类型
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: riskLevel
  5 + description: 风险等级 1:高 2:中 3:低
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orgId
  5 + description: 组织ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orgName
  5 + description: 组织名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productDate
  5 + description: 生产日期
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productPlanId
  5 + description: 生产计划ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: category
  5 + description: 类别
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: groupLeader
  5 + description: 班组长
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: groupMembers
  5 + description: 帮组成员列表
  6 + type:
  7 + array: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: groupName
  5 + description: 班组名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: materialCategory
  5 + description: 物料类别
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: materialName
  5 + description: 物料名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productCode
  5 + description: 产品编号 编码规则为“CP”+2 位年+2 位月+2 位日+3 位流水码,如 CP211229001
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productExt
  5 + description: 产品扩展(扩展的信息)
  6 + type:
  7 + schema: productExt
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productGroupId
  5 + description: 生产小组ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productId
  5 + description: 产品ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productName
  5 + description: 产品名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: spec
  5 + description: 规格
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: unitWeight
  5 + description: 单份重量(原材料)
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: workOn
  5 + description: 上班班次 1:全天 2:白班 4:中班 8:夜班
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: fromUnitQuantity
  5 + description: 转换前单位数量
  6 + type:
  7 + schema: unitQuantity
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: intelligentWeighingFlag
  5 + description: 智能称重标识
  6 + type:
  7 + primitive: boolean
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: material
  5 + description: material
  6 + type:
  7 + schema: material
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: quantity
  5 + description: 数量(保留两位小数)
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: toUnitQuantity
  5 + description: 转换后单位数量
  6 + type:
  7 + schema: unitQuantity
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: unit
  5 + description: 单位
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: unitConversionId
  5 + description: 单位换算ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: avatar
  5 + description: 头像
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: email
  5 + description: 邮箱
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: employeeType
  5 + description: 员工类型 1:固定 2:派遣 3.临时
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: icCardNumber
  5 + description: IC卡号
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: phone
  5 + description: 手机号码
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: userId
  5 + description: 用户Id 用户唯一标识
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: userName
  5 + description: 用户姓名
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: userType
  5 + description: 用户类型 1:企业内部用户(内部添加) 2:共创用户 1024:企业注册用户(注册添加)
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: jobId
  5 + description: 工位ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: jobName
  5 + description: 工位名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: lineId
  5 + description: 生产线ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: lineName
  5 + description: 生产线名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: principal
  5 + description: 负责人 (用户对象)
  6 + type:
  7 + : useschemar
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: process
  5 + description: 工序
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productJobId
  5 + description: 工位ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: productionLine
  5 + description: 生产线
  6 + type:
  7 + schema: productionLine
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: sectionId
  5 + description: 工段ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: sectionName
  5 + description: 工段名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: workStationId
  5 + description: 工作位置键值 (车间ID+'.'+生产线ID+'.'+工段ID)
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: workshopId
  5 + description: 车间ID
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: workshopName
  5 + description: 车间名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Project
  3 +metadata:
  4 + name: project
  5 + description: 天联制造项目
  6 + version: 0.0.1
  7 + repository: gitlab.fjmaimaimai.com/allied-creation/allied-creation-manufacture
  8 + contact:
  9 + name: tiptok
  10 + email:
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: company
  5 + description: 企业对象
  6 + attributes:
  7 + - ref: companyId
  8 + required: true
  9 + - ref: companyName
  10 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: device
  5 + description: 设备
  6 + attributes:
  7 + - ref: deviceId
  8 + required: true
  9 + - ref: deviceCode
  10 + required: true
  11 + - ref: deviceName
  12 + required: true
  13 + - ref: deviceModel
  14 + required: true
  15 + - ref: deviceType
  16 + required: true
  17 + - ref: brand
  18 + required: true
  19 + - ref: deviceStatus
  20 + required: true
  21 + - ref: riskLevel
  22 + required: true
  23 + - ref: createdAt
  24 + required: true
  25 + - ref: updatedAt
  26 + required: true
  27 + - ref: deletedAt
  28 + required: true
  29 + - name: workStation
  30 + description: 所属位置
  31 + type:
  32 + schema: workStation
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: material
  5 + description: 物料
  6 + attributes:
  7 + - ref: materialName
  8 + required: true
  9 + - ref: materialCategory
  10 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: org
  5 + description: 组织机构
  6 + attributes:
  7 + - ref: orgId
  8 + required: true
  9 + - ref: orgName
  10 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: product
  5 + description: 产品信息
  6 + attributes:
  7 + - ref: companyId
  8 + required: true
  9 + - ref: orgId
  10 + required: true
  11 + - ref: productId
  12 + required: true
  13 + - ref: productCode
  14 + required: true
  15 + - ref: productName
  16 + required: true
  17 + - ref: spec
  18 + required: true
  19 + - ref: productExt
  20 + required: true
  21 + - ref: createdAt
  22 + required: true
  23 + - ref: updatedAt
  24 + required: true
  25 + - ref: deletedAt
  26 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: productCalendar
  5 + description: 工厂日历
  6 + attributes:
  7 + - ref: productCalendarId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: orgId
  12 + required: true
  13 + - ref: workStation
  14 + required: true
  15 + - ref: workOn
  16 + required: true
  17 + - ref: calendarSelected
  18 + required: true
  19 + - ref: inWorkAt
  20 + required: true
  21 + - ref: outWorkAt
  22 + required: true
  23 + - ref: breakTime
  24 + required: true
  25 + - ref: workTime
  26 + required: true
  27 + - ref: createdAt
  28 + required: true
  29 + - ref: updatedAt
  30 + required: true
  31 + - ref: deletedAt
  32 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: productExt
  5 + description: 产品扩展
  6 + attributes:
  7 + - ref: unitWeight
  8 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: productGroup
  5 + description: 生产班组
  6 + attributes:
  7 + - ref: productGroupId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: orgId
  12 + required: true
  13 + - ref: groupName
  14 + required: true
  15 + - ref: groupLeader
  16 + required: true
  17 + - ref: groupMembers
  18 + required: true
  19 + - ref: workOn
  20 + required: true
  21 + - ref: workStation
  22 + required: true
  23 + - ref: createdAt
  24 + required: true
  25 + - ref: updatedAt
  26 + required: true
  27 + - ref: deletedAt
  28 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: productJob
  5 + description: 工位(车间-生产线-工段-工位)
  6 + attributes:
  7 + - ref: productJobId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: orgId
  12 + required: true
  13 + - ref: jobName
  14 + required: true
  15 + - ref: createdAt
  16 + required: true
  17 + - ref: updatedAt
  18 + required: true
  19 + - ref: deletedAt
  20 + required: true
  21 + - name: workStation
  22 + description: 工作位置
  23 + type:
  24 + schema: workStation
  25 + - name: relatedDevices
  26 + description: 关联设备列表
  27 + type:
  28 + array: int
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: productLine
  5 + description: 生产线
  6 + attributes:
  7 + - ref: lineId
  8 + required: true
  9 + - ref: lineName
  10 + required: true
  11 + - name: productSections
  12 + description: 工段列表
  13 + type:
  14 + array: productSection
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: productSection
  5 + description: 工段
  6 + attributes:
  7 + - ref: sectionId
  8 + required: true
  9 + - ref: sectionName
  10 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: unitConversion
  5 + description: 单位换算
  6 + attributes:
  7 + - ref: unitConversionId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: orgId
  12 + required: true
  13 + - ref: workStation
  14 + required: true
  15 + - ref: material
  16 + required: true
  17 + - ref: fromUnitQuantity
  18 + required: true
  19 + - ref: toUnitQuantity
  20 + required: true
  21 + - ref: intelligentWeighingFlag
  22 + required: true
  23 + - ref: createdAt
  24 + required: true
  25 + - ref: updatedAt
  26 + required: true
  27 + - ref: deletedAt
  28 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: unitQuantity
  5 + description: 单位数量
  6 + attributes:
  7 + - ref: quantity
  8 + required: true
  9 + - ref: unit
  10 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: user
  5 + description: 用户对象
  6 + attributes:
  7 + - ref: userId
  8 + required: true
  9 + - ref: userName
  10 + required: true
  11 + - ref: employeeType
  12 + required: true
  13 + - ref: icCardNumber
  14 + required: true
  15 + - ref: avatar
  16 + required: true
  17 + - ref: phone
  18 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: workStation
  5 + description: 工作位置(车间、生产线、工段组成),唯一标识工作位置
  6 + attributes:
  7 + - ref: workStationId
  8 + required: true
  9 + - ref: workshopId
  10 + required: true
  11 + - ref: workshopName
  12 + required: true
  13 + - ref: lineId
  14 + required: true
  15 + - ref: lineName
  16 + required: true
  17 + - ref: sectionId
  18 + required: true
  19 + - ref: sectionName
  20 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: workshop
  5 + description: 车间
  6 + attributes:
  7 + - ref: companyId
  8 + required: true
  9 + - ref: orgId
  10 + required: true
  11 + - ref: workshopId
  12 + required: true
  13 + - ref: workshopName
  14 + required: true
  15 + - ref: principal
  16 + required: true
  17 + - name: productLines
  18 + description: 生产线
  19 + type:
  20 + array: productLine
  21 + - ref: createdAt
  22 + required: true
  23 + - ref: updatedAt
  24 + required: true
  25 + - ref: deletedAt
  26 + required: true