All systems / SYS-008
SupplyChainHub
ระบบจัดการศูนย์กลางเครือข่าย
system.yml
176 lines# Skeleton created by `sysforge import-excel` (SPEC §13) for SYS-008.
# Core modules: • โมดูลคลังสินค้า/สต็อก • โมดูลโครงสร้างพื้นฐาน/ปฏิบัติการไอที • โมดูลข้อมูลหลัก (Master Data)
# TODO(sysforge): replace the default fields below with the real fields of each entity.
# Every field shown in a form needs a default or a placeholder (R-UI-1). Then run: sysforge validate
system:
code: SYS-008
name: SupplyChainHub
title: { th: "ระบบจัดการศูนย์กลางเครือข่าย", en: "Supply chain hub" }
description: { th: "ระบบจัดการศูนย์กลางเครือข่าย" }
domain: Enterprise & Business
package: com.sysforge.supplychainhub
version: 1.0.0
locale: { default: th }
timezone: Asia/Bangkok
database:
targets: [sqlserver, oracle, mysql, postgresql]
default: postgresql
tablePrefix: su_
theme: {}
roles:
- code: ADMIN
title: { th: ผู้ดูแลระบบ, en: Administrator }
permissions: ["*"]
- code: STAFF
title: { th: เจ้าหน้าที่, en: Staff }
permissions:
- "Item:create"
- "Item:read"
- "Item:update"
- "Item:export"
- "Warehouse:create"
- "Warehouse:read"
- "Warehouse:update"
- "Warehouse:export"
- "StockTxn:create"
- "StockTxn:read"
- "StockTxn:update"
- "StockTxn:export"
- "Lot:create"
- "Lot:read"
- "Lot:update"
- "Lot:export"
- "StockBalance:create"
- "StockBalance:read"
- "StockBalance:update"
- "StockBalance:export"
- "ConfigurationItem:create"
- "ConfigurationItem:read"
- "ConfigurationItem:update"
- "ConfigurationItem:export"
- "Metric:create"
- "Metric:read"
- "Metric:update"
- "Metric:export"
- "Alert:create"
- "Alert:read"
- "Alert:update"
- "Alert:export"
- "Ticket:create"
- "Ticket:read"
- "Ticket:update"
- "Ticket:export"
- "Runbook:create"
- "Runbook:read"
- "Runbook:update"
- "Runbook:export"
entities:
- name: Item
title: { th: "Item", en: "Item" }
display: name
fields:
- { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น IT-0001", en: "e.g. IT-0001" } }
- { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Item", en: "e.g. Item name" } }
- { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
- { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
# TODO(sysforge): ระบุ field เฉพาะของ Item
- name: Warehouse
title: { th: "Warehouse", en: "Warehouse" }
display: name
fields:
- { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น WA-0001", en: "e.g. WA-0001" } }
- { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Warehouse", en: "e.g. Warehouse name" } }
- { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
- { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
# TODO(sysforge): ระบุ field เฉพาะของ Warehouse
- name: StockTxn
title: { th: "Stock txn", en: "Stock txn" }
display: name
fields:
- { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น ST-0001", en: "e.g. ST-0001" } }
- { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น StockTxn", en: "e.g. Stock txn name" } }
- { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
- { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
# TODO(sysforge): ระบุ field เฉพาะของ StockTxn
- name: Lot
title: { th: "Lot", en: "Lot" }
display: name
fields:
- { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น LO-0001", en: "e.g. LO-0001" } }
- { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Lot", en: "e.g. Lot name" } }
- { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
- { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
# TODO(sysforge): ระบุ field เฉพาะของ Lot
- name: StockBalance
title: { th: "Stock balance", en: "Stock balance" }
display: name
fields:
- { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น SB-0001", en: "e.g. SB-0001" } }
- { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น StockBalance", en: "e.g. Stock balance name" } }
- { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
- { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
# TODO(sysforge): ระบุ field เฉพาะของ StockBalance
- name: ConfigurationItem
title: { th: "Configuration item", en: "Configuration item" }
display: name
fields:
- { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น CI-0001", en: "e.g. CI-0001" } }
- { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น ConfigurationItem", en: "e.g. Configuration item name" } }
- { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
- { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
# TODO(sysforge): ระบุ field เฉพาะของ ConfigurationItem
- name: Metric
title: { th: "Metric", en: "Metric" }
display: name
fields:
- { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น ME-0001", en: "e.g. ME-0001" } }
- { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Metric", en: "e.g. Metric name" } }
- { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
- { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
# TODO(sysforge): ระบุ field เฉพาะของ Metric
- name: Alert
title: { th: "Alert", en: "Alert" }
display: name
fields:
- { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น AL-0001", en: "e.g. AL-0001" } }
- { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Alert", en: "e.g. Alert name" } }
- { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
- { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
# TODO(sysforge): ระบุ field เฉพาะของ Alert
- name: Ticket
title: { th: "Ticket", en: "Ticket" }
display: name
fields:
- { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น TI-0001", en: "e.g. TI-0001" } }
- { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Ticket", en: "e.g. Ticket name" } }
- { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
- { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
# TODO(sysforge): ระบุ field เฉพาะของ Ticket
- name: Runbook
title: { th: "Runbook", en: "Runbook" }
display: name
fields:
- { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น RU-0001", en: "e.g. RU-0001" } }
- { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Runbook", en: "e.g. Runbook name" } }
- { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
- { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
# TODO(sysforge): ระบุ field เฉพาะของ Runbook
screens:
- { id: home, type: kpi-dashboard, title: { th: ภาพรวม, en: Overview } }
- { id: items, type: crud, entity: Item, title: { th: "Item", en: "Item" }, defaultSort: { field: code, dir: asc } }
- { id: warehouses, type: crud, entity: Warehouse, title: { th: "Warehouse", en: "Warehouse" }, defaultSort: { field: code, dir: asc } }
- { id: stock-txns, type: crud, entity: StockTxn, title: { th: "Stock txn", en: "Stock txn" }, defaultSort: { field: code, dir: asc } }
- { id: lots, type: crud, entity: Lot, title: { th: "Lot", en: "Lot" }, defaultSort: { field: code, dir: asc } }
- { id: stock-balances, type: crud, entity: StockBalance, title: { th: "Stock balance", en: "Stock balance" }, defaultSort: { field: code, dir: asc } }
- { id: configuration-items, type: crud, entity: ConfigurationItem, title: { th: "Configuration item", en: "Configuration item" }, defaultSort: { field: code, dir: asc } }
- { id: metrics, type: crud, entity: Metric, title: { th: "Metric", en: "Metric" }, defaultSort: { field: code, dir: asc } }
- { id: alerts, type: crud, entity: Alert, title: { th: "Alert", en: "Alert" }, defaultSort: { field: code, dir: asc } }
- { id: tickets, type: crud, entity: Ticket, title: { th: "Ticket", en: "Ticket" }, defaultSort: { field: code, dir: asc } }
- { id: runbooks, type: crud, entity: Runbook, title: { th: "Runbook", en: "Runbook" }, defaultSort: { field: code, dir: asc } }
Details
- Code
- SYS-008
- Domain
- Enterprise & Business
- Entities
- 10
- Source
- Excel import
- Status
- Has TODO — generates fine, replace the default fields before real use
- Description
- ระบบจัดการศูนย์กลางเครือข่าย
Theme
Registered in salt "sysforge-v1": regenerating keeps this look.