using System; using System.Collections.Generic; using System.Text; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; namespace CertAuth.Domain { public class RFIDTagMstr { [Display(Name = "ID")] public System.Nullable Id { get; set; } [Required] [Display(Name = "Tag UID")] [StringLength(maximumLength: 30, ErrorMessage = "Field Length: Maximum 30")] public string TagUID { get; set; } [Display(Name = "Tag Signature")] [StringLength(maximumLength: 64, ErrorMessage = "Field Length: Maximum 64")] public string TagSignature { get; set; } [Display(Name = "Tag Encryption")] [StringLength(maximumLength: 50, ErrorMessage = "Field Length: Maximum 50")] public string TagEncryption { get; set; } [Display(Name = "Sold To Vendor")] public System.Nullable SoldToVendorKey { get; set; } [Required] [Display(Name = "Status")] public string Status { get; set; } [Display(Name = "Last Update")] public DateTime TimeStamp { get; set; } } public class RFIDTagMstr_WD { [Required] [Display(Name = "ID")] public int Id { get; set; } [Key] [Required] [Display(Name = "Tag UID")] [StringLength(maximumLength: 30, ErrorMessage = "Field Length: Maximum 30")] public string TagUID { get; set; } [Display(Name = "Tag Signature")] [StringLength(maximumLength: 64, ErrorMessage = "Field Length: Maximum 64")] public string TagSignature { get; set; } [Display(Name = "Tag Encryption")] [StringLength(maximumLength: 50, ErrorMessage = "Field Length: Maximum 50")] public string TagEncryption { get; set; } [Display(Name = "Sold To Vendor")] public System.Nullable SoldToVendorKey { get; set; } [Display(Name = "Sold To Vendor")] public string VendorName { get; set; } [Required] [Display(Name = "Status")] public string Status { get; set; } [Display(Name = "Status")] public string StatusDesc { get; set; } [Display(Name = "Last Update")] public DateTime TimeStamp { get; set; } } public class RFIDTagMstr_UnAssigned { [Display(Name = "ID")] public int Id { get; set; } [Display(Name = "Tag UID")] [StringLength(maximumLength: 30, ErrorMessage = "Field Length: Maximum 30")] public string TagUID { get; set; } [Display(Name ="RFID Key")] public int RFIDKey { get; set; } [Display(Name ="Item Name")] public string ItemName { get; set; } } }