From 09542900534645e28c23f16caa94aa8a2c20cc5b Mon Sep 17 00:00:00 2001 From: payne <bzrlw2012@163.com> Date: 周五, 03 5月 2024 16:10:02 +0800 Subject: [PATCH] 往来单位助记码功能调整为 中文名称输入立即调用接口实现 --- iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs | 214 +++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 157 insertions(+), 57 deletions(-) diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs index 0429a33..e22aa7f 100644 --- a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs +++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs @@ -2,6 +2,11 @@ using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; +/* + * @author : 鍒樻枃濂� + * @date : 2024/4/24涓嬪崍4:54:43 + * @desc : 搴撲綅琛� + */ namespace Admin.NET.Core { /// <summary> @@ -11,6 +16,8 @@ [Comment("搴撲綅琛�")] public class WmsPlace : DEntityBase { + + /// <summary> /// 搴撲綅缂栫爜 /// </summary> @@ -19,155 +26,248 @@ [MaxLength(50)] public string PlaceCode { get; set; } - /// <summary> - /// 搴撲綅瀵瑰簲AGV缂栫爜 - /// </summary> - [Comment("搴撲綅瀵瑰簲AGV缂栫爜")] - [MaxLength(50)] - public string AgvCode { get; set; } /// <summary> - /// 搴撲綅鐘舵��;鏁版嵁瀛楀吀 + /// 搴撲綅鍚嶇О /// </summary> - [Comment("搴撲綅鐘舵��")] + [Comment("搴撲綅鍚嶇О")] [Required] - public PlaceStatus PlaceStatus { get; set; } + [MaxLength(50)] + public string PlaceName { get; set; } + + + /// <summary> + /// 搴撲綅鍒悕 + /// </summary> + [Comment("搴撲綅鍒悕")] + [MaxLength(50)] + public string PlaceAlias { get; set; } + + + /// <summary> + /// 搴撲綅绫诲瀷 + /// </summary> + [Comment("搴撲綅绫诲瀷")] + [Required] + + public PlaceTypeEnum PlaceType { get; set; } + + + /// <summary> + /// 搴撲綅绫诲瀷鍚嶇О + /// </summary> + [Comment("搴撲綅绫诲瀷鍚嶇О")] + [Required] + [MaxLength(50)] + public string PlaceTypeName { get; set; } + + + /// <summary> + /// 瀛樻斁鍗曚綅 + /// </summary> + [Comment("瀛樻斁鍗曚綅")] + [MaxLength(50)] + public string StockUnit { get; set; } + + + /// <summary> + /// 搴撲綅灞炴�� + /// </summary> + [Comment("搴撲綅灞炴��")] + [Required] + + public PlaceStatusEnum PlaceStatus { get; set; } + + + /// <summary> + /// 鏄惁婵�娲讳笌浠诲姟璋冨害 + /// </summary> + [Comment("鏄惁婵�娲讳笌浠诲姟璋冨害")] + + public bool? IsActivateWCS { get; set; } + + + /// <summary> + /// 搴撳瓨鐜 + /// </summary> + [Comment("搴撳瓨鐜")] + [MaxLength(255)] + public string Environment { get; set; } + + + /// <summary> + /// 搴撳尯缂栧彿 + /// </summary> + [Comment("搴撳尯缂栧彿")] + [Required] + [MaxLength(50)] + public string AreaCode { get; set; } + /// <summary> /// 鎵�鍦ㄥ簱鍖� /// </summary> [Comment("鎵�鍦ㄥ簱鍖�")] [Required] + public long AreaId { get; set; } + + + /// <summary> + /// 搴撳尯鍚嶇О + /// </summary> + [Comment("搴撳尯鍚嶇О")] + [Required] + [MaxLength(50)] + public string AreaName { get; set; } + + + /// <summary> + /// 妫�楠岀爜 + /// </summary> + [Comment("妫�楠岀爜")] + [MaxLength(255)] + public string VerificationCode { get; set; } + /// <summary> /// 鎺� /// </summary> [Comment("鎺�")] [Required] + public int RowNo { get; set; } + /// <summary> /// 鍒� /// </summary> [Comment("鍒�")] [Required] + public int ColumnNo { get; set; } + /// <summary> /// 灞� /// </summary> [Comment("灞�")] [Required] + public int LayerNo { get; set; } - /// <summary> - /// 杩涙繁鍙� - /// </summary> - [Comment("杩涙繁鍙�")] - [Required] - public int DeepcellNo { get; set; } /// <summary> /// 宸烽亾 /// </summary> [Comment("宸烽亾")] [Required] - public int Aisle { get; set; } - /// <summary> - /// 绾垮彿 - /// </summary> - [Comment("绾垮彿")] - [Required] - public int Line { get; set; } + public int LaneNo { get; set; } - /// <summary> - /// 鏄惁閿佸畾;鏁版嵁瀛楀吀 - /// </summary> - [Comment("鏄惁閿佸畾")] - [Required] - public YesOrNot Islock { get; set; } - - /// <summary> - /// 鏄惁绌烘墭;鏁版嵁瀛楀吀 - /// </summary> - [Comment("鏄惁绌烘墭")] - public YesOrNot EmptyContainer { get; set; } - - /// <summary> - /// 鍫嗗灈鏈哄唴閮ㄧ殑浣嶇疆 - /// </summary> - [Comment("鍫嗗灈鏈哄唴閮ㄧ殑浣嶇疆")] - [MaxLength(50)] - public string PositionnoForSrm { get; set; } /// <summary> /// 搴撲綅X鍧愭爣 /// </summary> [Comment("搴撲綅X鍧愭爣")] - [MaxLength(50)] + [MaxLength(255)] public string Xzb { get; set; } + /// <summary> /// 搴撲綅Y鍧愭爣 /// </summary> [Comment("搴撲綅Y鍧愭爣")] - [MaxLength(50)] + [MaxLength(255)] public string Yzb { get; set; } + /// <summary> /// 搴撲綅Z鍧愭爣 /// </summary> [Comment("搴撲綅Z鍧愭爣")] - [MaxLength(50)] + [MaxLength(255)] public string Zzb { get; set; } + /// <summary> /// 搴撲綅闀垮害 /// </summary> [Comment("搴撲綅闀垮害")] + [Required] + [Column("Length", TypeName = "decimal(10,3)")] public decimal Length { get; set; } + /// <summary> /// 搴撲綅瀹藉害 /// </summary> [Comment("搴撲綅瀹藉害")] + [Required] + [Column("Width", TypeName = "decimal(10,3)")] public decimal Width { get; set; } + /// <summary> /// 搴撲綅楂樺害 /// </summary> [Comment("搴撲綅楂樺害")] + [Required] + [Column("Height", TypeName = "decimal(10,3)")] public decimal Height { get; set; } + /// <summary> /// 鏈�澶ф壙閲� /// </summary> [Comment("鏈�澶ф壙閲�")] + [Required] + [Column("MaxWeight", TypeName = "decimal(10,3)")] public decimal MaxWeight { get; set; } - /// <summary> - /// 搴撲綅楂樺害灞炴��;鏁版嵁瀛楀吀 - /// </summary> - [Comment("搴撲綅楂樺害灞炴��")] - public Heightlevel HeightLevel { get; set; } /// <summary> - /// 浼樺厛绾� + /// 鍏ュ簱椤哄簭 /// </summary> - [Comment("浼樺厛绾�")] - public int Priority { get; set; } + [Comment("鍏ュ簱椤哄簭")] + [Required] + + public int InSequence { get; set; } + /// <summary> - /// 閫昏緫鍖哄煙 + /// 鍑哄簱椤哄簭 /// </summary> - [Comment("閫昏緫鍖哄煙")] - public int LogicalName { get; set; } + [Comment("鍑哄簱椤哄簭")] + [Required] + + public int OutSequence { get; set; } + /// <summary> - /// 搴撳尯琛� + /// 鏄惁铏氭嫙 /// </summary> - public WmsArea WmsArea { get; set; } + [Comment("鏄惁铏氭嫙")] + [Required] + + public bool IsVirtually { get; set; } + + + /// <summary> + /// 鏄惁绂佺敤 + /// </summary> + [Comment("鏄惁绂佺敤")] + [Required] + + public bool IsDisabled { get; set; } + + + + + + + + + } } \ No newline at end of file -- Gitblit v1.9.3