Files
WMS/HHWMS.Web/Models/Configs/MaterialProcess.cs
T
zhougf b12ed2d5e5 任务添加zoneid
添加物料打印
添加物料工序
添加库存出库
修改状态返回接口
wcs请求添加 重量和入口
2025-07-09 01:11:10 +08:00

37 lines
1.4 KiB
C#

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;
}
}