using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FMDAL.DTO.Reading { public class ReadingsLiteDTO { private int taskid; private int assetid; private string assetcode; private string assetname; private int deviceid; private string referencenumber; private DateTime readingdatetime; private int personid; private int parametersetid; private int partybranchid; private int activityid = -1; private string remarks; private List readinglitetaildto; private int biztransactiontypeid; private string transactionnumber; private int actionid; private int actiondetailid; private DateTime readingdatetotime; private byte actiondetailiscompleted; private int readingentryfrommobile = 1; //0-True,1.False private int taskassignedto = -1; private double readingvalue; public int ActionId { get { return actionid; } set { actionid = value; } } public int ActionDetailId { get { return actiondetailid; } set { actiondetailid = value; } } public int TaskId { get { return taskid; } set { taskid = value; } } public int AssetId { get { return assetid; } set { assetid = value; } } public string AssetCode { get { return assetcode; } set { assetcode = value; } } public string AssetName { get { return assetname; } set { assetname = value; } } public int DeviceId { get { return deviceid; } set { deviceid = value; } } public string ReferenceNumber { get { return referencenumber; } set { referencenumber = value; } } public DateTime ReadingDateTime { get { return readingdatetime; } set { readingdatetime = value; } } public int PersonId { get { return personid; } set { personid = value; }//It shoud be From LoginDTO } public int ParametersetId { get { return parametersetid; } set { parametersetid = value; } } public int PartyBranchId { get { return partybranchid; } set { partybranchid = value; } } public int ActivityId { get { return activityid; } set { activityid = value; } } public string Remarks { get { return remarks; } set { remarks = value; } } public List ReadingsLiteTaildto { get { return readinglitetaildto; } set { readinglitetaildto = value; } } public int BizTransactionTypeId { get { return biztransactiontypeid; } set { biztransactiontypeid = value; } } public string TransactionNumber { get { return transactionnumber; } set { transactionnumber = value; } } private int otherchargeid = -1; public int OtherChargeId { get { return otherchargeid; } ////Id set { otherchargeid = value; } ////Id } private Int16 version; public Int16 Version { get { return version; } ////Id set { version = value; } ////Id } public DateTime ReadingDateToTime { get { return readingdatetotime; } set { readingdatetotime = value; } } public byte ActionDetailIsCompleted { get { return actiondetailiscompleted; } set { actiondetailiscompleted = value; } } public int ReadingEntryFromMobile { get { return readingentryfrommobile; } set { readingentryfrommobile = value; } } public int TaskAssignedTo { get { return taskassignedto; } set { taskassignedto = value; } } public double ReadingValue { get { return readingvalue; } set { readingvalue = value; } } } }