From 2be79691461677a65a8ed1258c850a129642b797 Mon Sep 17 00:00:00 2001
From: payne <bzrlw2012@163.com>
Date: 周二, 23 4月 2024 16:41:59 +0800
Subject: [PATCH] 添加仓库实体
---
使用文档/PDManer文件/原材料库标准化.pdma.json | 133 +++++++++++++++++++++++++-
iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsWarehouse.cs | 114 ++++++++++++++++++++++
2 files changed, 240 insertions(+), 7 deletions(-)
diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsWarehouse.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsWarehouse.cs
new file mode 100755
index 0000000..f938ed5
--- /dev/null
+++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsWarehouse.cs
@@ -0,0 +1,114 @@
+锘縰sing Microsoft.EntityFrameworkCore;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+
+/*
+ * @author : 鍒樻枃濂�
+ * @date : 2024/4/23涓嬪崍4:40:38
+ * @desc : 浠撳簱琛�
+ */
+namespace Admin.NET.Core
+{
+ /// <summary>
+ /// 浠撳簱琛�
+ /// </summary>
+ [Table("wms_warehouse")]
+ [Comment("浠撳簱琛�")]
+ public class WmsWarehouse : DEntityBase
+ {
+
+
+ /// <summary>
+ /// 浠撳簱缂栧彿
+ /// </summary>
+ [Comment("浠撳簱缂栧彿")]
+ [Required]
+ [MaxLength(50)]
+ public string Code { get; set; }
+
+
+ /// <summary>
+ /// 浠撳簱鍚嶇О
+ /// </summary>
+ [Comment("浠撳簱鍚嶇О")]
+ [Required]
+ [MaxLength(255)]
+ public string Name { get; set; }
+
+
+ /// <summary>
+ /// 浠撳簱鍦板潃
+ /// </summary>
+ [Comment("浠撳簱鍦板潃")]
+ [MaxLength(255)]
+ public string Address { get; set; }
+
+
+ /// <summary>
+ /// 宸ュ巶缂栧彿
+ /// </summary>
+ [Comment("宸ュ巶缂栧彿")]
+ [MaxLength(255)]
+ public string FactoryCode { get; set; }
+
+
+ /// <summary>
+ /// 闀�
+ /// </summary>
+ [Comment("闀�")]
+
+ [Column("Length", TypeName = "decimal(10,3)")]
+ public decimal? Length { get; set; }
+
+
+ /// <summary>
+ /// 瀹�
+ /// </summary>
+ [Comment("瀹�")]
+
+ [Column("Width", TypeName = "decimal(10,3)")]
+ public decimal? Width { get; set; }
+
+
+ /// <summary>
+ /// 楂�
+ /// </summary>
+ [Comment("楂�")]
+
+ [Column("Height", TypeName = "decimal(10,3)")]
+ public decimal? Height { get; set; }
+
+
+ /// <summary>
+ /// 鍩烘湰鍗曞厓
+ /// </summary>
+ [Comment("鍩烘湰鍗曞厓")]
+ [MaxLength(255)]
+ public string BaseUnit { get; set; }
+
+
+ /// <summary>
+ /// 瀹氫綅
+ /// </summary>
+ [Comment("瀹氫綅")]
+ [MaxLength(255)]
+ public string Position { get; set; }
+
+
+ /// <summary>
+ /// 澶囨敞
+ /// </summary>
+ [Comment("澶囨敞")]
+ [MaxLength(255)]
+ public string Remarks { get; set; }
+
+
+
+
+
+
+
+
+
+ }
+}
\ No newline at end of file
diff --git "a/\344\275\277\347\224\250\346\226\207\346\241\243/PDManer\346\226\207\344\273\266/\345\216\237\346\235\220\346\226\231\345\272\223\346\240\207\345\207\206\345\214\226.pdma.json" "b/\344\275\277\347\224\250\346\226\207\346\241\243/PDManer\346\226\207\344\273\266/\345\216\237\346\235\220\346\226\231\345\272\223\346\240\207\345\207\206\345\214\226.pdma.json"
index 0f33357..40089b5 100755
--- "a/\344\275\277\347\224\250\346\226\207\346\241\243/PDManer\346\226\207\344\273\266/\345\216\237\346\235\220\346\226\231\345\272\223\346\240\207\345\207\206\345\214\226.pdma.json"
+++ "b/\344\275\277\347\224\250\346\226\207\346\241\243/PDManer\346\226\207\344\273\266/\345\216\237\346\235\220\346\226\231\345\272\223\346\240\207\345\207\206\345\214\226.pdma.json"
@@ -4,7 +4,7 @@
"avatar": "",
"version": "4.1.3",
"createdTime": "2024-4-12 12:56:29",
- "updatedTime": "2024-4-23 16:14:35",
+ "updatedTime": "2024-4-23 16:40:22",
"dbConns": [],
"profile": {
"default": {
@@ -44734,13 +44734,13 @@
"len": "",
"scale": "",
"primaryKey": false,
- "notNull": false,
+ "notNull": true,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"extProps": {},
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+ "domain": "94107640-E002-4AB3-A2DC-B66F98D9645F",
"id": "0997BA32-4532-4913-9097-DADFB61746C8",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
},
@@ -44752,13 +44752,13 @@
"len": "",
"scale": "",
"primaryKey": false,
- "notNull": false,
+ "notNull": true,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"extProps": {},
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+ "domain": "B19256E6-87E6-4A43-AD65-67095F06819F",
"id": "C7112647-2585-4BBB-AFE3-13A23D61BB99",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
},
@@ -44776,9 +44776,111 @@
"hideInGraph": false,
"refDict": "",
"extProps": {},
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+ "domain": "B19256E6-87E6-4A43-AD65-67095F06819F",
"id": "F0894E5C-6586-47BD-BD4E-4E8BAAABC15B",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
+ },
+ {
+ "defKey": "FactoryCode",
+ "defName": "宸ュ巶缂栧彿",
+ "comment": "",
+ "type": "",
+ "len": "",
+ "scale": "",
+ "primaryKey": false,
+ "notNull": false,
+ "autoIncrement": false,
+ "defaultValue": "",
+ "hideInGraph": false,
+ "refDict": "",
+ "extProps": {},
+ "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+ "id": "2B1A51B9-BAC1-462F-A854-DEB8E79B614D"
+ },
+ {
+ "defKey": "Length",
+ "defName": "闀�",
+ "comment": "",
+ "type": "",
+ "len": "",
+ "scale": "",
+ "primaryKey": false,
+ "notNull": false,
+ "autoIncrement": false,
+ "defaultValue": "",
+ "hideInGraph": false,
+ "refDict": "",
+ "extProps": {},
+ "domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4",
+ "id": "50C31869-82D4-4DB9-9863-22C27916DC75"
+ },
+ {
+ "defKey": "Width",
+ "defName": "瀹�",
+ "comment": "",
+ "type": "",
+ "len": "",
+ "scale": "",
+ "primaryKey": false,
+ "notNull": false,
+ "autoIncrement": false,
+ "defaultValue": "",
+ "hideInGraph": false,
+ "refDict": "",
+ "extProps": {},
+ "domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4",
+ "id": "37A5FC2D-F3B1-4291-BA54-8E81DB8820FC"
+ },
+ {
+ "defKey": "Height",
+ "defName": "楂�",
+ "comment": "",
+ "type": "",
+ "len": "",
+ "scale": "",
+ "primaryKey": false,
+ "notNull": false,
+ "autoIncrement": false,
+ "defaultValue": "",
+ "hideInGraph": false,
+ "refDict": "",
+ "extProps": {},
+ "domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4",
+ "id": "A3DD1206-CF67-4D33-831D-F0159D2A9CA7"
+ },
+ {
+ "defKey": "BaseUnit",
+ "defName": "鍩烘湰鍗曞厓",
+ "comment": "",
+ "type": "",
+ "len": "",
+ "scale": "",
+ "primaryKey": false,
+ "notNull": false,
+ "autoIncrement": false,
+ "defaultValue": "",
+ "hideInGraph": false,
+ "refDict": "",
+ "extProps": {},
+ "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+ "id": "99F96377-31AC-4E79-A99B-BD50D7AD03BF"
+ },
+ {
+ "defKey": "Position",
+ "defName": "瀹氫綅",
+ "comment": "",
+ "type": "",
+ "len": "",
+ "scale": "",
+ "primaryKey": false,
+ "notNull": false,
+ "autoIncrement": false,
+ "defaultValue": "",
+ "hideInGraph": false,
+ "refDict": "",
+ "extProps": {},
+ "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+ "id": "97315F7B-F548-46AD-9DEA-F4118AA58F0A"
},
{
"defKey": "Remarks",
@@ -44794,7 +44896,7 @@
"hideInGraph": false,
"refDict": "",
"extProps": {},
- "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+ "domain": "B19256E6-87E6-4A43-AD65-67095F06819F",
"id": "3DB35E73-3722-4F86-B9D8-630D5A799A4C",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
},
@@ -46122,6 +46224,23 @@
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
},
{
+ "defKey": "BoxQty",
+ "defName": "鐗╂枡瀹瑰櫒瀹归噺",
+ "comment": "",
+ "type": "",
+ "len": "",
+ "scale": "",
+ "primaryKey": false,
+ "notNull": false,
+ "autoIncrement": false,
+ "defaultValue": "",
+ "hideInGraph": false,
+ "refDict": "",
+ "extProps": {},
+ "domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4",
+ "id": "9EAF9FD0-1708-4A5C-B64F-71BF19BC92E8"
+ },
+ {
"defKey": "CreatedUserName",
"defName": "鍒涘缓浜�",
"comment": "",
--
Gitblit v1.9.3