using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CRMDAL.DTO.PartyProduct { public record PartyProductDTO { #region PrivateMembers #region PartyProduct private int partyproductid; //Id #region OrganizationUnit private int ouid = -1; //Id private string oucode; //Code private string ouname; //Name #endregion #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 private Int16 partyproductslno = 0; //SlNo private byte partyproductproductlevel = 0; //ProductLevel #region Item private int itemid = -1; //Id private string itemcode; //Code private string itemname; //Name #endregion private string partyproductitemname = "NONE"; //ItemName private double partyproductquantity = 0; //Quantity private Int16 partyproductitemslno = 0; //ItemSlNo private string partyproductmanufacturerslno = "NONE"; //ManufacturerSlNo #region Party private int supplierid = -1; //Id private string suppliercode; //Code private string suppliername; //Name #endregion private DateTime partyproductsupplierwarrantyfromdate = DateTime.Now; //SupplierWarrantyFromDate private DateTime partyproductsupplierwarrantytodate = DateTime.Now; //SupplierWarrantyToDate private DateTime partyproductinvoicedate = DateTime.Now; //InvoiceDate private DateTime partyproductinstallationdate = DateTime.Now; //InstallationDate private DateTime partyproductsaleswarrantyfromdate = DateTime.Now; //SalesWarrantyFromDate private DateTime partyproductsaleswarrantytodate = DateTime.Now; //SalesWarrantyToDate private DateTime partyproductlabourexpirydate = DateTime.Now; //LabourExpiryDate private DateTime partyproductpartsexpirydate = DateTime.Now; //PartsExpiryDate private string partyproductparticulars = "NONE"; //Particulars private string partyproductinvoicenumber = "NONE"; private int documentdetailid = -1; private int documentid = -1; #region Gcm private byte partyproductservicecoveragestatus; //Id #endregion #endregion #region Base private Int16 partyproductsortorder; //SortOrder private byte partyproductstatus; //Status private Int16 partyproductversion; //Version #endregion #region Standard private int partyproductcreatedbyid; //CreatedById private DateTime partyproductcreatedon; //CreatedOn private int partyproductmodifiedbyid; //ModifiedById private DateTime partyproductmodifiedon; //ModifiedOn #endregion #endregion #region PublicMembers #region PartyProduct public int PartyProductId { get { return partyproductid; } //Id set { partyproductid = value; } //Id } #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 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 public Int16 PartyProductSlNo { get { return partyproductslno; } //SlNo set { partyproductslno = value; } //SlNo } public byte PartyProductProductLevel { get { return partyproductproductlevel; } //ProductLevel set { partyproductproductlevel = value; } //ProductLevel } #region Item public int ItemId { get { return itemid; } //Id set { itemid = value; } //Id } public string ItemCode { get { return itemcode; } //Code set { itemcode = value; } //Code } public string ItemName { get { return itemname; } //Name set { itemname = value; } //Name } #endregion public string PartyProductItemName { get { return partyproductitemname; } //ItemName set { partyproductitemname = value; } //ItemName } public double PartyProductQuantity { get { return partyproductquantity; } //Quantity set { partyproductquantity = value; } //Quantity } public Int16 PartyProductItemSlNo { get { return partyproductitemslno; } //ItemSlNo set { partyproductitemslno = value; } //ItemSlNo } public string PartyProductManufacturerSlNo { get { return partyproductmanufacturerslno; } //ManufacturerSlNo set { partyproductmanufacturerslno = value; } //ManufacturerSlNo } #region Party public int SupplierId { get { return supplierid; } //Id set { supplierid = value; } //Id } public string SupplierCode { get { return suppliercode; } //Code set { suppliercode = value; } //Code } public string SupplierName { get { return suppliername; } //Name set { suppliername = value; } //Name } #endregion public DateTime PartyProductSupplierWarrantyFromDate { get { return partyproductsupplierwarrantyfromdate; } //SupplierWarrantyFromDate set { partyproductsupplierwarrantyfromdate = value; } //SupplierWarrantyFromDate } public DateTime PartyProductSupplierWarrantyToDate { get { return partyproductsupplierwarrantytodate; } //SupplierWarrantyToDate set { partyproductsupplierwarrantytodate = value; } //SupplierWarrantyToDate } public DateTime PartyProductInvoiceDate { get { return partyproductinvoicedate; } //InvoiceDate set { partyproductinvoicedate = value; } //InvoiceDate } public DateTime PartyProductInstallationDate { get { return partyproductinstallationdate; } //InstallationDate set { partyproductinstallationdate = value; } //InstallationDate } public DateTime PartyProductSalesWarrantyFromDate { get { return partyproductsaleswarrantyfromdate; } //SalesWarrantyFromDate set { partyproductsaleswarrantyfromdate = value; } //SalesWarrantyFromDate } public DateTime PartyProductSalesWarrantyToDate { get { return partyproductsaleswarrantytodate; } //SalesWarrantyToDate set { partyproductsaleswarrantytodate = value; } //SalesWarrantyToDate } public DateTime PartyProductLabourExpiryDate { get { return partyproductlabourexpirydate; } //LabourExpiryDate set { partyproductlabourexpirydate = value; } //LabourExpiryDate } public DateTime PartyProductPartsExpiryDate { get { return partyproductpartsexpirydate; } //PartsExpiryDate set { partyproductpartsexpirydate = value; } //PartsExpiryDate } public string PartyProductParticulars { get { return partyproductparticulars; } //Particulars set { partyproductparticulars = value; } //Particulars } public string PartyProductInvoiceNumber { get { return partyproductinvoicenumber; } //Particulars set { partyproductinvoicenumber = value; } //Particulars } public int DocumentDetailId { get { return documentdetailid; } //DocumentDetailId set { documentdetailid = value; } //DocumentDetailId } public int DocumentId { get { return documentid; } //DocumentDetailId set { documentid = value; } //DocumentDetailId } #region Gcm public byte PartyProductServiceCoverageStatus { get { return partyproductservicecoveragestatus; } //Id set { partyproductservicecoveragestatus = value; } //Id } #endregion private string addressphone = "NONE"; private string addressmobile = "NONE"; private Int64 numberofrecords; private int defaultaddressid = -1; private byte partyproductwarrantytype; private int warrantybyid = -1; private string warrantybycode; private string warrantybyname; private int extendedbyid = -1; private string extendedbycode; private string extendedbyname; private DateTime partyproductextendedfrom; private DateTime partyproductextendedto; private string partyproductextendedremarks; public string AddressPhone { get { return addressphone; } //AddressPhone set { addressphone = value; } //AddressPhone } public string AddressMobile { get { return addressmobile; } //AddressMobile set { addressmobile = value; } //AddressMobile } public Int64 NumberOfRecords { get { return numberofrecords; } //AddressMobile set { numberofrecords = value; } //AddressMobile } public int DefaultAddressId { get { return defaultaddressid; } //DefaultAddressId set { defaultaddressid = value; } //DefaultAddressId } public byte PartyProductWarrantyType { get { return partyproductwarrantytype; } //partyproductwarrantytype set { partyproductwarrantytype = value; } //partyproductwarrantytype } public int WarrantyById { get { return warrantybyid; } //WarrantyById set { warrantybyid = value; } //WarrantyById } public string WarrantyByCode { get { return warrantybycode; } //warrantybycode set { warrantybycode = value; } //warrantybycode } public string WarrantyByName { get { return warrantybyname; } //warrantybyname set { warrantybyname = value; } //warrantybyname } public int ExtendedById { get { return extendedbyid; } //extendedbyid set { extendedbyid = value; } //extendedbyid } public string ExtendedByCode { get { return extendedbycode; } //extendedbycode set { extendedbycode = value; } //extendedbycode } public string ExtendedByName { get { return extendedbyname; } //extendedbyname set { extendedbyname = value; } //extendedbyname } public DateTime PartyProductExtendedFrom { get { return partyproductextendedfrom; } //partyproductextendedfrom set { partyproductextendedfrom = value; } //partyproductextendedfrom } public DateTime PartyProductExtendedTo { get { return partyproductextendedto; } //partyproductextendedto set { partyproductextendedto = value; } //partyproductextendedto } public string PartyProductExtendedRemarks { get { return partyproductextendedremarks; } //partyproductextendedremarks set { partyproductextendedremarks = value; } //partyproductextendedremarks } #endregion #region Base public Int16 PartyProductSortOrder { get { return partyproductsortorder; } //SortOrder set { partyproductsortorder = value; } //SortOrder } public byte PartyProductStatus { get { return partyproductstatus; } //Status set { partyproductstatus = value; } //Status } public Int16 PartyProductVersion { get { return partyproductversion; } //Version set { partyproductversion = value; } //Version } #endregion #region Standard public int PartyProductCreatedById { get { return partyproductcreatedbyid; } //CreatedById set { partyproductcreatedbyid = value; } //CreatedById } public DateTime PartyProductCreatedOn { get { return partyproductcreatedon; } //CreatedOn set { partyproductcreatedon = value; } //CreatedOn } public int PartyProductModifiedById { get { return partyproductmodifiedbyid; } //ModifiedById set { partyproductmodifiedbyid = value; } //ModifiedById } public DateTime PartyProductModifiedOn { get { return partyproductmodifiedon; } //ModifiedOn set { partyproductmodifiedon = value; } //ModifiedOn } #endregion #endregion } }