This commit is contained in:
@@ -40,6 +40,7 @@ namespace AyaNova.Models
|
||||
public virtual DbSet<Notification> Notification { get; set; }
|
||||
public virtual DbSet<NotifyDeliveryLog> NotifyDeliveryLog { get; set; }
|
||||
public virtual DbSet<Part> Part { get; set; }
|
||||
public virtual DbSet<PartSerial> PartSerial { get; set; }
|
||||
public virtual DbSet<PartAssembly> PartAssembly { get; set; }
|
||||
public virtual DbSet<PartAssemblyItem> PartAssemblyItem { get; set; }
|
||||
public virtual DbSet<PM> PM { get; set; }
|
||||
|
||||
22
server/AyaNova/models/PartSerial.cs
Normal file
22
server/AyaNova/models/PartSerial.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public class PartSerial
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
|
||||
|
||||
[Required]
|
||||
public long PartId { get; set; }
|
||||
[Required]
|
||||
public string Serial { get; set; }
|
||||
|
||||
|
||||
|
||||
}//eoc
|
||||
|
||||
}//eons
|
||||
Reference in New Issue
Block a user