添加工序配置
修改入库页面,任务完成,库存页面等
This commit is contained in:
1 parent
c2b039ea47
commit
5a04ca9d59
41 files changed
+1151
-84
No files matched your search
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models
|
||||
{
|
||||
[Table("ProcessConfig")]
|
||||
public class ProcessConfig : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
[Display(Name = "Process.Code", Description = "工序编码")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
[RegularExpression("[0-9]{2}", ErrorMessage = "{0}必须是2位数字")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
|
||||
public string Code { get; set; }
|
||||
|
||||
[Display(Name = "Process.Name", Description = "工序名称")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Display(Name = "Process.Zone", Description = "存放区域")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Zone { get; set; }
|
||||
|
||||
[Display(Name = "Process.Port", Description = "出口")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Port { get; set; }
|
||||
|
||||
[Display(Name = "Sys.Spare", Description = "备用1")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Spare1 { get; set; }
|
||||
|
||||
[Display(Name = "Sys.Spare", Description = "备用2")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Spare2 { get; set; }
|
||||
|
||||
[Display(Name = "Sys.Spare", Description = "备用3")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Spare3 { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user