using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace rgbc_sds.services.Models { public class SupplierModel { public int Id { get; set; } public string Name { get; set; } = string.Empty; public bool? IsActive { get; set; } public string CreatedBy { get; set; } = string.Empty; public DateTime? CreatedAt { get; set; } public string UpdatedBy { get; set; } = string.Empty; public DateTime? UpdatedAt { get; set; } public string EditedAt { get; set; } = string.Empty; public string LoggedInUserRole { get; set; } = string.Empty; public string LoggedInUserName { get; set; } = string.Empty; public string SearchString { get; set;} = string.Empty; public int ActiveStatus { get; set;} public string SupplierStatus { get; set;} = string.Empty; public List SupplierListModel { get; set; } = new List(); public List SupplierActiveList { get; set; } = new List(); } public class SupplierViewModel { public int Id { get; set; } [Display(Name = "Name:")] public string Name { get; set; } = string.Empty; [Display(Name = "Active:")] public bool isActive { get; set; } public string Process { get; set; } = string.Empty; public string LoggedInUserRole { get; set; } = string.Empty; public string LoggedInUserName { get; set; } = string.Empty; } public class SupplierActiveModel { public int Id { get; set; } public string Active { get; set; } = string.Empty; } }