任务添加zoneid
添加物料打印 添加物料工序 添加库存出库 修改状态返回接口 wcs请求添加 重量和入口
This commit is contained in:
1 parent
42c26b2800
commit
b12ed2d5e5
54 files changed
+1442
-393
No files matched your search
@@ -23,8 +23,12 @@ public class Location : BasePoco
|
||||
[Display(Name = "Location.Type", Description = "库位类型")]
|
||||
public LocationTypeEnum Type { get; set; }
|
||||
|
||||
[Display(Name = "Location.Status", Description = "库位状态")]
|
||||
[Display(Name = "Location.Status", Description = "是否锁定")]
|
||||
public LocationStatusEnum Status { get; set; }
|
||||
|
||||
[Display(Name = "Location.ContainerStatus", Description = "库位状态")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ContainerStatus { get; set; }
|
||||
|
||||
[Display(Name = "Location.RoadWay", Description = "巷道")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
@@ -68,45 +72,4 @@ public class Location : BasePoco
|
||||
public string ContiguousCode { get; set; }
|
||||
|
||||
public Guid? Version { get; set; }
|
||||
}
|
||||
|
||||
public enum LocationTypeEnum : short
|
||||
{
|
||||
/// <summary>
|
||||
/// 成品库位
|
||||
/// </summary>
|
||||
[Display(Name = "LocationTypeEnum.L")]
|
||||
C = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 模具库位
|
||||
/// </summary>
|
||||
[Display(Name = "LocationTypeEnum.M")]
|
||||
M = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 线边库位
|
||||
/// </summary>
|
||||
[Display(Name = "LocationTypeEnum.X")]
|
||||
X = 2
|
||||
}
|
||||
public enum LocationStatusEnum : short
|
||||
{
|
||||
[Display(Name = "LocationStatusEnum.Empty")]
|
||||
Empty = 0,
|
||||
[Display(Name = "LocationStatusEnum.EmptyContainer")]
|
||||
EmptyContainer = 1,
|
||||
[Display(Name = "LocationStatusEnum.Some")]
|
||||
Some = 2,
|
||||
[Display(Name = "LocationStatusEnum.Full")]
|
||||
Full = 3,
|
||||
[Display(Name = "LocationStatusEnum.Locked")]
|
||||
Locked = 4,
|
||||
}
|
||||
public enum RowFlagEnum : short
|
||||
{
|
||||
[Display(Name = "RowFlagEnum.Outer")]
|
||||
Outer = 0,
|
||||
[Display(Name = "RowFlagEnum.Inner")]
|
||||
Inner = 1,
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models
|
||||
{
|
||||
[Table("MaterialProcess")]
|
||||
public class MaterialProcess : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
[Display(Name = "MaterialProcess.MaterialCode", Description = "物料编码")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
[Display(Name = "MaterialProcess.ProcessOrder", Description = "工序顺序")]
|
||||
public int ProcessOrder { get; set; }
|
||||
|
||||
[Display(Name = "MaterialProcess.ProcessName", Description = "工序名称")]
|
||||
[StringLength(100, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ProcessName { get; set; }
|
||||
|
||||
[Display(Name = "MaterialProcess.ProcessCode", Description = "工序编码")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ProcessCode { get; set; }
|
||||
|
||||
[Display(Name = "MaterialProcess.Description", Description = "工序描述")]
|
||||
[StringLength(500, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Description { get; set; }
|
||||
|
||||
[Display(Name = "MaterialProcess.IsActive", Description = "是否启用")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user