using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CRMDAL.DTO.CallAllocation { public record CallAllocationDTO { #region PrivateMembers #region CallAllocation private int callallocationid; //Id #region ItemBrand private int brandid = -1; //Id private string brandcode; //Code private string brandname; //Name #endregion #region ItemCategory private int categoryid = -1; //Id private string categorycode; //Code private string categoryname; //Name #endregion #region ItemSubCategory private int subcategoryid = -1; //Id private string subcategorycode; //Code private string subcategoryname; //Name #endregion #region OrganizationUnit private int ouid = -1; //Id private string oucode; //Code private string ouname; //Name #endregion #region Country private int countryid = -1; //Id private string countrycode; //Code private string countryname; //Name #endregion #region State private int stateid = -1; //Id private string statecode; //Code private string statename; //Name #endregion #region City private int cityid = -1; //Id private string citycode; //Code private string cityname; //Name #endregion private string callallocationzipcode; //ZipCode #region Location private int locationid = -1; //Id private string locationcode; //Code private string locationname; //Name #endregion #region Gcm private int problemcategoryid = -1; //Id private string problemcategorycode; //Code private string problemcategoryname; //Name #endregion private byte callallocationallotmenttype = 0; //AllotmentType #region Party private int partyid = -1; //Id private string partycode; //Code private string partyname; //Name #endregion #region PartyBranch private int partybranchid = -1; //Id private string partybranchcode; //Code private string partybranchname; //Name #endregion #region Employee private int employeeid = -1; //Id private string employeecode; //Code private string employeename; //Name #endregion #region Address private int technicianid = -1; //Id private string technicianname; //Name #endregion #region WorkType private int worktypeid = -1; //id private string worktypecode; //code private string worktypename; //name #endregion private int callid = -1; #endregion #endregion #region PublicMembers #region CallAllocation public int CallAllocationId { get { return callallocationid; } //Id set { callallocationid = value; } //Id } #region ItemBrand public int BrandId { get { return brandid; } //Id set { brandid = value; } //Id } public string BrandCode { get { return brandcode; } //Code set { brandcode = value; } //Code } public string BrandName { get { return brandname; } //Name set { brandname = value; } //Name } #endregion #region ItemCategory public int CategoryId { get { return categoryid; } //Id set { categoryid = value; } //Id } public string CategoryCode { get { return categorycode; } //Code set { categorycode = value; } //Code } public string CategoryName { get { return categoryname; } //Name set { categoryname = value; } //Name } #endregion #region ItemSubCategory public int SubCategoryId { get { return subcategoryid; } //Id set { subcategoryid = value; } //Id } public string SubCategoryCode { get { return subcategorycode; } //Code set { subcategorycode = value; } //Code } public string SubCategoryName { get { return subcategoryname; } //Name set { subcategoryname = value; } //Name } #endregion #region OrganizationUnit public int OUId { get { return ouid; } //Id set { ouid = value; } //Id } public string OUCode { get { return oucode; } //Code set { oucode = value; } //Code } public string OUName { get { return ouname; } //Name set { ouname = value; } //Name } #endregion #region Country public int CountryId { get { return countryid; } //Id set { countryid = value; } //Id } public string CountryCode { get { return countrycode; } //Code set { countrycode = value; } //Code } public string CountryName { get { return countryname; } //Name set { countryname = value; } //Name } #endregion #region State public int StateId { get { return stateid; } //Id set { stateid = value; } //Id } public string StateCode { get { return statecode; } //Code set { statecode = value; } //Code } public string StateName { get { return statename; } //Name set { statename = value; } //Name } #endregion #region City public int CityId { get { return cityid; } //Id set { cityid = value; } //Id } public string CityCode { get { return citycode; } //Code set { citycode = value; } //Code } public string CityName { get { return cityname; } //Name set { cityname = value; } //Name } #endregion public string CallAllocationZipCode { get { return callallocationzipcode; } //ZipCode set { callallocationzipcode = value; } //ZipCode } #region Location public int LocationId { get { return locationid; } //Id set { locationid = value; } //Id } public string LocationCode { get { return locationcode; } //Code set { locationcode = value; } //Code } public string LocationName { get { return locationname; } //Name set { locationname = value; } //Name } #endregion #region Gcm public int ProblemCategoryId { get { return problemcategoryid; } //Id set { problemcategoryid = value; } //Id } public string ProblemCategoryCode { get { return problemcategorycode; } //Code set { problemcategorycode = value; } //Code } public string ProblemCategoryName { get { return problemcategoryname; } //Name set { problemcategoryname = value; } //Name } #endregion public byte CallAllocationAllotmentType { get { return callallocationallotmenttype; } //AllotmentType set { callallocationallotmenttype = value; } //AllotmentType } #region Party public int PartyId { get { return partyid; } //Id set { partyid = value; } //Id } public string PartyCode { get { return partycode; } //Code set { partycode = value; } //Code } public string PartyName { get { return partyname; } //Name set { partyname = value; } //Name } #endregion #region PartyBranch public int PartyBranchId { get { return partybranchid; } //Id set { partybranchid = value; } //Id } public string PartyBranchCode { get { return partybranchcode; } //Code set { partybranchcode = value; } //Code } public string PartyBranchName { get { return partybranchname; } //Name set { partybranchname = value; } //Name } #endregion #region Employee public int EmployeeId { get { return employeeid; } //Id set { employeeid = value; } //Id } public string EmployeeCode { get { return employeecode; } //Code set { employeecode = value; } //Code } public string EmployeeName { get { return employeename; } //Name set { employeename = value; } //Name } #endregion #region Address public int TechnicianId { get { return technicianid; } //Id set { technicianid = value; } //Id } public string TechnicianName { get { return technicianname; } //Name set { technicianname = value; } //Name } #endregion #region WorkType public int WorkTypeId { get { return worktypeid; } //id set { worktypeid = value; } //id } public string WorkTypeCode { get { return worktypecode; } //name set { worktypecode = value; } //name } public string WorkTypeName { get { return worktypename; } //name set { worktypename = value; } //name } #endregion private Int64 numberofrecords; private string label = "NONE"; public Int64 NumberOfRecords { get { return numberofrecords; } set { numberofrecords = value; } } public string Label { get { return label; } set { label = value; } } public int CallId { get { return callid; } //Id set { callid = value; } //Id } #endregion #endregion private string rulename; //RuleName public string RuleName { get { return rulename; } set { rulename = value; } } private string description; public string Description { get { return description; } set { description = value; } } private int usergroupid; public int UserGroupId { get { return usergroupid; } set { usergroupid = value; } } private string usergroupcode; public string UserGroupCode { get { return usergroupcode; } set { usergroupcode = value; } } private string usergroupname; public string UserGroupName { get { return usergroupname; } set { usergroupname = value; } } private int calltypeid; public int CallTypeId { get { return calltypeid; } set { calltypeid = value; } } private string calltypecode; public string CallTypeCode { get { return calltypecode; } set { calltypecode = value; } } private string calltypename; public string CallTypeName { get { return calltypename; } set { calltypename = value; } } private int callnatureid; public int CallNatureId { get { return callnatureid; } set { callnatureid = value; } } private string callnaturecode; public string CallNatureCode { get { return callnaturecode; } set { callnaturecode = value; } } private string callnaturename; public string CallNatureName { get { return callnaturename; } set { callnaturename = value; } } } }