Commit 4835419a by xin.yang

some update

parent d729ace3
################################################################################
# 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。
################################################################################
#Ignore thumbnails created by Windows
Thumbs.db
#Ignore files built by Visual Studio
*.obj
*.exe
*.pdb
*.user
*.aps
*.pch
*.vspscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.cache
*.ilk
*.log
[Bb]in
[Dd]ebug*/
*.lib
*.sbr
obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
.vs/
#Nuget packages folder
packages/
Server/.vs/SigerData/v15/Server/sqlite3/storage.ide
*.pyc
[Bb]in/
[Oo]bj/
[Ll]og/
......@@ -1461,5 +1461,8 @@ namespace Siger.Middlelayer.Common
UserNotExists,
[Description("默认展示已存在")]
DefaultDisplayExists,
[Description("未找到储位类别")]
LocationTypeNotFound,
}
}
......@@ -86,5 +86,7 @@ namespace Siger.Middlelayer.WmsRepository.Entities
public string option { get; set; }
public string realname { get; set; }
public int locationid { get; set; }
}
}
using Siger.Middlelayer.Common;
using System.Collections.Generic;
namespace Siger.Middlelayer.WmsRepository.Request
{
......@@ -13,4 +14,41 @@ namespace Siger.Middlelayer.WmsRepository.Request
public LocationTypeEnum type { get; set; }
}
public class RequestAddLocationModel
{
/// <summary>
/// 仓库ID
/// </summary>
public int warehouseid { get; set; }
/// <summary>
/// 储位ID
/// </summary>
public string storeID { get; set; }
/// <summary>
/// 是否停用0:停用 1:启用
/// </summary>
public int status { get; set; }
public List<LocationModel> locations { get; set; } = new List<LocationModel>();
}
public class LocationModel
{
/// <summary>
/// 储位类别ID
/// </summary>
public int id { get; set; }
/// <summary>
/// 储位类别名称
/// </summary>
//public string name { get; set; }
/// <summary>
/// 储位名称
/// </summary>
public string val { get; set; }
/// <summary>
/// 储位自增ID
/// </summary>
public string locationid { get; set; }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment