using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.Policy { public class PolicyDTO { private int policyid; private string policycode; private string policyname; private string policydescription; private int policypageid; private int currencyid = -1; private string currencycode; private string currencyname; private IList policyversionarray; private int isupdate = 0;//0 Update 1 Version Change private Int16 policyversion; private int policycreatedbyid; private DateTime policycreatedon; private int policymodifiedbyid; private DateTime policymodifiedon; public int PolicyId { get { return policyid; } set { policyid = value; } } public string PolicyCode { get { return policycode; } set { policycode = value; } } public string PolicyName { get { return policyname; } set { policyname = value; } } public string PolicyDescription { get { return policydescription; } set { policydescription = value; } } public virtual int PolicyPageId { get { return policypageid; } set { policypageid = value; } } public int CurrencyId { get { return currencyid; } set { currencyid = value; } } public string CurrencyCode { get { return currencycode; } set { currencycode = value; } } public string CurrencyName { get { return currencyname; } set { currencyname = value; } } public IList PolicyVersionArray { get { return policyversionarray; } set { policyversionarray = value; } } public Int16 PolicyVersion { get { return policyversion; } set { policyversion = value; } } public int IsUpdate { get { return isupdate; } set { isupdate = value; } } public int PolicyCreatedById { get { return policycreatedbyid; } set { policycreatedbyid = value; } } public DateTime PolicyCreatedOn { get { return policycreatedon; } set { policycreatedon = value; } } public int PolicyModifiedById { get { return policymodifiedbyid; } set { policymodifiedbyid = value; } } public DateTime PolicyModifiedOn { get { return policymodifiedon; } set { policymodifiedon = value; } } } }