From 44640481f86a93efb91ebbb21a68632a2f08bdd0 Mon Sep 17 00:00:00 2001 From: payne <bzrlw2012@163.com> Date: 周二, 23 4月 2024 11:05:26 +0800 Subject: [PATCH] 增加工厂信息实体 --- iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsFactory.cs | 64 ++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsFactory.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsFactory.cs new file mode 100644 index 0000000..a009afc --- /dev/null +++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsFactory.cs @@ -0,0 +1,64 @@ +锘縰sing Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +/* + * @author : 鍒樻枃濂� + * @date : 2024/4/23涓婂崍11:02:03 + * @desc : 宸ュ巶淇℃伅琛� + */ +namespace Admin.NET.Core +{ + /// <summary> + /// 宸ュ巶淇℃伅琛� + /// </summary> + [Table("wms_factory")] + [Comment("宸ュ巶淇℃伅琛�")] + public class WmsFactory : DEntityBase + { + + + /// <summary> + /// 缂栧彿 + /// </summary> + [Comment("缂栧彿")] + [Required] + [MaxLength(50)] + public string FactoryCode { get; set; } + + + /// <summary> + /// 鍚嶇О + /// </summary> + [Comment("鍚嶇О")] + [Required] + [MaxLength(50)] + public string FactoryName { get; set; } + + + /// <summary> + /// 鍦板潃 + /// </summary> + [Comment("鍦板潃")] + [MaxLength(255)] + public string FactoryAddress { get; set; } + + + /// <summary> + /// 鏄惁绂佺敤 + /// </summary> + [Comment("鏄惁绂佺敤")] + [Required] + + public bool IsDisabled { get; set; } + + + + + + + + + + } +} \ No newline at end of file -- Gitblit v1.9.3