using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FAMDAL.DTO.TFam { public class TFamDTO { #region PrivateMembers #region FAM private int tfamledgerid; private int tfamfamid; #region OrganizationUnit private int ouid = -1; //Id private string oucode; //Code private string ouname; //Name #endregion #region Period private int periodid = -1; //Id private string periodcode; //Code private string periodname; //Name private DateTime periodfromdate; //FromDate private DateTime periodtodate; //ToDate #endregion #region BizTransactionType private int biztransactiontypeid = -1; //Id private string biztransactiontypecode; //Code private string biztransactiontypename; //Name #endregion #region Entity private int objectheadertypeid = -1; //Id private string objectheadertypecode; //Code private string objectheadertypename; //Name #endregion private int objectheaderid = -1; //Id #region Entity private int objecttypeid = -1; //Id private string objecttypecode; //Code private string objecttypename; //Name #endregion private int objectid = -1; //Id private string tfamfamnumber; //FamNumber private DateTime tfamfamdate; //FamDate private string tfamreferencenumber; //ReferenceNumber private DateTime tfamreferencedate; //ReferenceDate #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 string tfampartyreferencenumber = ""; //PartyReferenceNumber private DateTime tfampartyreferencedate; //PartyReferenceDate #region Department private int departmentid = -1; //Id private string departmentcode; //Code private string departmentname; //Name #endregion #region Store private int storeid = -1; //Id private string storecode; //Code private string storename; //Name #endregion #region Location private int locationid = -1; //Id private string locationcode; //Code private string locationname; //Name #endregion #region fromLocation private int fromlocationid = -1; //Id private string fromlocationcode; //Code private string fromlocationname; //Name #endregion #region toLocation private int tolocationid = -1; //Id private string tolocationcode; //Code private string tolocationname; //Name #endregion #region Employee private int inchargeid = -1; //Id private string inchargecode; //Code private string inchargename; //Name #endregion private byte tfamiscapitalized; //IsCapitalized private DateTime tfamcapitalizedon; //CapitalizedOn private Int16 tfamslno; //SLNo #region Asset private int assetid = -1; //Id private string assetcode; //Code private string assetname; //Name #endregion private string tfamassetcode; //AssetCode private string tfamassetbatch; //AssetBatch private string tfamassetname; //AssetName private string tfamremarks = ""; //Remarks private double tfamassetstockquantity; //AssetStockQuantity #region Item private int itemid = -1; //Id private string itemcode; //Code private string itemname; //Name #endregion #region SKU private int skuid = -1; //Id private string skuname; //Name private string skucode; //SKUCODE #endregion private double tfamassetquantity; //AssetQuantity private double tfamassetrate; //AssetRate private double tfamassetgrossvalue; //AssetGrossValue private double tfamaddition; //Addition private double tfamdeduction; //Deduction private double tfamretirement; //Retirement private double tfamassetnetvalue; //AssetNetValue private double tfamcoa; //COA private double tfamresidualpercentage; //ResidualPercentage private double tfamresidual; //Residual private double tfampreviousdepreciation; //PreviousDepreciation private double tfamassetvalueafterpreviousdepreciation;//AssetValueAfterPreviousDepreciation private DateTime tfamdepreciationstartdate; //DepreciationStartDate private DateTime tfamdepreciationenddate; //DepreciationEndDate private Int16 tfamdepreciationdays; //DepreciationDays private Int16 tfamremaininglifeindays; //RemainingLifeInDays private byte tfamnoofshifts; //NoOfShifts private double tfamdepreciationpercentage; //DepreciationPercentage private double tfamcalculatedbasedon; //CalculatedBasedOn private double tfamdepreciationamount; //DepreciationAmount private double tfamassetvalueafterdepreciation;//AssetValueAfterDepreciation private double tfamfullperiodassetvalue; //FullPeriodAssetValue private double tfampartperiodassetvalue; //PartPeriodAssetValue private DateTime tfamtaxdepreciationstartdate; //TaxDepreciationStartDate private DateTime tfamtaxdepreciationenddate; //TaxDepreciationEndDate private double tfamtaxdepreciationpercentage; //TaxDepreciationPercentage private double tfamtaxfullperioddepreciationamount;//TaxFullPeriodDepreciationAmount private double tfamtaxpartperioddepreciationamount;//TaxPartPeriodDepreciationAmount private double tfamtaxassetvalueafterdepreciation;//TaxAssetValueAfterDepreciation #region Gcm private int disposetypeid = -1; //Id private string disposetypecode; //Code private string disposetypename; //Name #endregion #region Reason private int disposereasonid = -1; //Id private string disposereasoncode; //Code private string disposereasonname; //Name #endregion private string tfamdisposeremarks = ""; //DisposeRemarks #region Voucher private int voucherid = -1; //Id private string vouchervouchernumber; //VoucherNumber #endregion private string tfamvouchernumber = ""; //VoucherNumber private DateTime tfamvoucherdate; //VoucherDate #region Account private int debitaccountid = -1; //Id private string debitaccountcode; //Code private string debitaccountname; //Name #endregion #region Account private int creditaccountid = -1; //Id private string creditaccountcode; //Code private string creditaccountname; //Name #endregion #endregion #region Base private int tfamcreatedbyid; //CreatedById private DateTime tfamcreatedon; //CreatedOn private int tfammodifiedbyid; //ModifiedById private DateTime tfammodifiedon; //ModifiedOn private int tfambaseclinetid; //BaseClinetId #endregion #region Standard private byte tfamstatus; //Status private Int16 tfamversion; //Version #endregion #endregion #region PublicMembers #region FAM public int TFamLedgerId { get { return tfamledgerid; } //TFamLedgerId set { tfamledgerid = value; } //TFamLedgerId } public int TFamFamId { get { return tfamfamid; } //TFamFamId set { tfamfamid = value; } //TFamFamId } #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 Period public int PeriodId { get { return periodid; } //Id set { periodid = value; } //Id } public string PeriodCode { get { return periodcode; } //Code set { periodcode = value; } //Code } public string PeriodName { get { return periodname; } //Name set { periodname = value; } //Name } public DateTime PeriodFromDate { get { return periodfromdate; } //FromDate set { periodfromdate = value; } //FromDate } public DateTime PeriodToDate { get { return periodtodate; } //ToDate set { periodtodate = value; } //ToDate } #endregion #region BizTransactionType public int BizTransactionTypeId { get { return biztransactiontypeid; } //Id set { biztransactiontypeid = value; } //Id } public string BizTransactionTypeCode { get { return biztransactiontypecode; } //Code set { biztransactiontypecode = value; } //Code } public string BizTransactionTypeName { get { return biztransactiontypename; } //Name set { biztransactiontypename = value; } //Name } #endregion #region Entity public int ObjectHeaderTypeId { get { return objectheadertypeid; } //Id set { objectheadertypeid = value; } //Id } public string ObjectHeaderTypeCode { get { return objectheadertypecode; } //Code set { objectheadertypecode = value; } //Code } public string ObjectHeaderTypeName { get { return objectheadertypename; } //Name set { objectheadertypename = value; } //Name } #endregion public int ObjectHeaderId { get { return objectheaderid; } //Id set { objectheaderid = value; } //Id } #region Entity public int ObjectTypeId { get { return objecttypeid; } //Id set { objecttypeid = value; } //Id } public string ObjectTypeCode { get { return objecttypecode; } //Code set { objecttypecode = value; } //Code } public string ObjectTypeName { get { return objecttypename; } //Name set { objecttypename = value; } //Name } #endregion public int ObjectId { get { return objectid; } //Id set { objectid = value; } //Id } public string TFamFamNumber { get { return tfamfamnumber; } //FamNumber set { tfamfamnumber = value; } } public DateTime TFamFamDate { get { return tfamfamdate; } //FamDate set { tfamfamdate = value; } //FamDate } public string TFamReferenceNumber { get { return tfamreferencenumber; } //ReferenceNumber set { tfamreferencenumber = value; } } public DateTime TFamReferenceDate { get { return tfamreferencedate; } //ReferenceDate set { tfamreferencedate = value; } //ReferenceDate } #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 string TFamPartyReferenceNumber { get { return tfampartyreferencenumber; } //PartyReferenceNumber set { tfampartyreferencenumber = value; } } public DateTime TFamPartyReferenceDate { get { return tfampartyreferencedate; } //PartyReferenceDate set { tfampartyreferencedate = value; } //PartyReferenceDate } #region Department public int DepartmentId { get { return departmentid; } //Id set { departmentid = value; } //Id } public string DepartmentCode { get { return departmentcode; } //Code set { departmentcode = value; } //Code } public string DepartmentName { get { return departmentname; } //Name set { departmentname = value; } //Name } #endregion #region Store public int StoreId { get { return storeid; } //Id set { storeid = value; } //Id } public string StoreCode { get { return storecode; } //Code set { storecode = value; } //Code } public string StoreName { get { return storename; } //Name set { storename = value; } //Name } #endregion #region Employee public int InchargeId { get { return inchargeid; } //Id set { inchargeid = value; } //Id } public string InchargeCode { get { return inchargecode; } //Code set { inchargecode = value; } //Code } public string InchargeName { get { return inchargename; } //Name set { inchargename = value; } //Name } #endregion public byte TFamIsCapitalized { get { return tfamiscapitalized; } //IsCapitalized set { tfamiscapitalized = value; } //IsCapitalized } public DateTime TFamCapitalizedOn { get { return tfamcapitalizedon; } //CapitalizedOn set { tfamcapitalizedon = value; } //CapitalizedOn } public Int16 TFamSLNo { get { return tfamslno; } //SLNo set { tfamslno = value; } } #region Asset public int AssetId { get { return assetid; } //Id set { assetid = value; } } public string AssetCode { get { return assetcode; } //Code set { assetcode = value; } //Code } public string AssetName { get { return assetname; } //Name set { assetname = value; } //Name } #endregion public string TFamAssetCode { get { return tfamassetcode; } //AssetCode set { tfamassetcode = value; } } public string TFamAssetBatch { get { return tfamassetbatch; } //AssetBatch set { tfamassetbatch = value; } } public string TFamAssetName { get { return tfamassetname; } //AssetName set { tfamassetname = value; } } public string TFamRemarks { get { return tfamremarks; } //Remarks set { tfamremarks = value; } //Remarks } public double TFamAssetStockQuantity { get { return tfamassetstockquantity; } //AssetStockQuantity set { tfamassetstockquantity = value; } //AssetStockQuantity } #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 #region SKU public int SKUId { get { return skuid; } //Id set { skuid = value; } //Id } public string SKUName { get { return skuname; } //Name set { skuname = value; } //Name } public string SKUCode { get { return skucode; } //SKUCODE set { skucode = value; } //SKUCODE } #endregion public double TFamAssetQuantity { get { return tfamassetquantity; } //AssetQuantity set { tfamassetquantity = value; } //AssetQuantity } public double TFamAssetRate { get { return tfamassetrate; } //AssetRate set { tfamassetrate = value; } //AssetRate } public double TFamAssetGrossValue { get { return tfamassetgrossvalue; } //AssetGrossValue set { tfamassetgrossvalue = value; } //AssetGrossValue } public double TFamAddition { get { return tfamaddition; } //Addition set { tfamaddition = value; } //Addition } public double TFamDeduction { get { return tfamdeduction; } //Deduction set { tfamdeduction = value; } //Deduction } public double TFamRetirement { get { return tfamretirement; } //Retirement set { tfamretirement = value; } //Retirement } public double TFamAssetNetValue { get { return tfamassetnetvalue; } //AssetNetValue set { tfamassetnetvalue = value; } //AssetNetValue } public double TFamCOA { get { return tfamcoa; } //COA set { tfamcoa = value; } //COA } public double TFamResidualPercentage { get { return tfamresidualpercentage; } //ResidualPercentage set { tfamresidualpercentage = value; } //ResidualPercentage } public double TFamResidual { get { return tfamresidual; } //Residual set { tfamresidual = value; } //Residual } public double TFamPreviousDepreciation { get { return tfampreviousdepreciation; } //PreviousDepreciation set { tfampreviousdepreciation = value; } //PreviousDepreciation } public double TFamAssetValueAfterPreviousDepreciation { get { return tfamassetvalueafterpreviousdepreciation; }//AssetValueAfterPreviousDepreciation set { tfamassetvalueafterpreviousdepreciation = value; }//AssetValueAfterPreviousDepreciation } public DateTime TFamDepreciationStartDate { get { return tfamdepreciationstartdate; } //DepreciationStartDate set { tfamdepreciationstartdate = value; } //DepreciationStartDate } public DateTime TFamDepreciationEndDate { get { return tfamdepreciationenddate; } //DepreciationEndDate set { tfamdepreciationenddate = value; } //DepreciationEndDate } public Int16 TFamDepreciationDays { get { return tfamdepreciationdays; } //DepreciationDays set { tfamdepreciationdays = value; } } public Int16 TFamRemainingLifeInDays { get { return tfamremaininglifeindays; } //RemainingLifeInDays set { tfamremaininglifeindays = value; } //RemainingLifeInDays } public byte TFamNoOfShifts { get { return tfamnoofshifts; } //NoOfShifts set { tfamnoofshifts = value; } //NoOfShifts } public double TFamDepreciationPercentage { get { return tfamdepreciationpercentage; } //DepreciationPercentage set { tfamdepreciationpercentage = value; } //DepreciationPercentage } public double TFamCalculatedBasedOn { get { return tfamcalculatedbasedon; } //CalculatedBasedOn set { tfamcalculatedbasedon = value; } //CalculatedBasedOn } public double TFamDepreciationAmount { get { return tfamdepreciationamount; } //DepreciationAmount set { tfamdepreciationamount = value; } //DepreciationAmount } public double TFamAssetValueAfterDepreciation { get { return tfamassetvalueafterdepreciation; } //AssetValueAfterDepreciation set { tfamassetvalueafterdepreciation = value; } //AssetValueAfterDepreciation } public double TFamFullPeriodAssetValue { get { return tfamfullperiodassetvalue; } //FullPeriodAssetValue set { tfamfullperiodassetvalue = value; } //FullPeriodAssetValue } public double TFamPartPeriodAssetValue { get { return tfampartperiodassetvalue; } //PartPeriodAssetValue set { tfampartperiodassetvalue = value; } //PartPeriodAssetValue } public DateTime TFamTaxDepreciationStartDate { get { return tfamtaxdepreciationstartdate; } //TaxDepreciationStartDate set { tfamtaxdepreciationstartdate = value; } //TaxDepreciationStartDate } public DateTime TFamTaxDepreciationEndDate { get { return tfamtaxdepreciationenddate; } //TaxDepreciationEndDate set { tfamtaxdepreciationenddate = value; } //TaxDepreciationEndDate } public double TFamTaxDepreciationPercentage { get { return tfamtaxdepreciationpercentage; } //TaxDepreciationPercentage set { tfamtaxdepreciationpercentage = value; } //TaxDepreciationPercentage } public double TFamTaxFullPeriodDepreciationAmount { get { return tfamtaxfullperioddepreciationamount; }//TaxFullPeriodDepreciationAmount set { tfamtaxfullperioddepreciationamount = value; }//TaxFullPeriodDepreciationAmount } public double TFamTaxPartPeriodDepreciationAmount { get { return tfamtaxpartperioddepreciationamount; }//TaxPartPeriodDepreciationAmount set { tfamtaxpartperioddepreciationamount = value; }//TaxPartPeriodDepreciationAmount } public double TFamTaxAssetValueAfterDepreciation { get { return tfamtaxassetvalueafterdepreciation; }//TaxAssetValueAfterDepreciation set { tfamtaxassetvalueafterdepreciation = value; }//TaxAssetValueAfterDepreciation } #region Gcm public int DisposeTypeId { get { return disposetypeid; } //Id set { disposetypeid = value; } //Id } public string DisposeTypeCode { get { return disposetypecode; } //Code set { disposetypecode = value; } //Code } public string DisposeTypeName { get { return disposetypename; } //Name set { disposetypename = value; } //Name } #endregion #region Reason public int DisposeReasonId { get { return disposereasonid; } //Id set { disposereasonid = value; } } public string DisposeReasonCode { get { return disposereasoncode; } //Code set { disposereasoncode = value; } } public string DisposeReasonName { get { return disposereasonname; } //Name set { disposereasonname = value; } } #endregion public string TFamDisposeRemarks { get { return tfamdisposeremarks; } //DisposeRemarks set { tfamdisposeremarks = value; } //DisposeRemarks } #region Voucher public int VoucherId { get { return voucherid; } //Id set { voucherid = value; } //Id } public string VoucherVoucherNumber { get { return vouchervouchernumber; } //VoucherNumber set { vouchervouchernumber = value; } //VoucherNumber } #endregion public string TFamVoucherNumber { get { return tfamvouchernumber; } //VoucherNumber set { tfamvouchernumber = value; } //VoucherNumber } public DateTime TFamVoucherDate { get { return tfamvoucherdate; } //VoucherDate set { tfamvoucherdate = value; } //VoucherDate } #region Account public int DebitAccountId { get { return debitaccountid; } //Id set { debitaccountid = value; } //Id } public string DebitAccountCode { get { return debitaccountcode; } //Code set { debitaccountcode = value; } //Code } public string DebitAccountName { get { return debitaccountname; } //Name set { debitaccountname = value; } //Name } #endregion #region Account public int CreditAccountId { get { return creditaccountid; } //Id set { creditaccountid = value; } //Id } public string CreditAccountCode { get { return creditaccountcode; } //Code set { creditaccountcode = value; } //Code } public string CreditAccountName { get { return creditaccountname; } //Name set { creditaccountname = value; } //Name } #endregion #endregion 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 } public int FromLocationId { get { return fromlocationid; } //Id set { fromlocationid = value; } //Id } public string FromLocationCode { get { return fromlocationcode; } //Code set { fromlocationcode = value; } //Code } public string FromLocationName { get { return fromlocationname; } //Name set { fromlocationname = value; } //Name } public int ToLocationId { get { return tolocationid; } //Id set { tolocationid = value; } //Id } public string ToLocationCode { get { return tolocationcode; } //Code set { tolocationcode = value; } //Code } public string ToLocationName { get { return tolocationname; } //Name set { tolocationname = value; } //Name } private int depreciationid = -1; private string depreciationcode; private string depreciationname; public int DepreciationId { get { return depreciationid; } //Name set { depreciationid = value; } //Name } public string DepreciationCode { get { return depreciationcode; } //Name set { depreciationcode = value; } //Name } public string DepreciationName { get { return depreciationname; } //Name set { depreciationname = value; } //Name } private int taxdepreciationid = -1; private string taxdepreciationcode; private string taxdepreciationname; public int TaxDepreciationId { get { return taxdepreciationid; } //Name set { taxdepreciationid = value; } //Name } public string TaxDepreciationCode { get { return taxdepreciationcode; } //Name set { taxdepreciationcode = value; } //Name } public string TaxDepreciationName { get { return taxdepreciationname; } //Name set { taxdepreciationname = value; } //Name } #region Base public int TFamCreatedById { get { return tfamcreatedbyid; } //CreatedById set { tfamcreatedbyid = value; } //CreatedById } public DateTime TFamCreatedOn { get { return tfamcreatedon; } //CreatedOn set { tfamcreatedon = value; } //CreatedOn } public int TFamModifiedById { get { return tfammodifiedbyid; } //ModifiedById set { tfammodifiedbyid = value; } //ModifiedById } public DateTime TFamModifiedOn { get { return tfammodifiedon; } //ModifiedOn set { tfammodifiedon = value; } //ModifiedOn } public int TFamBaseClinetId { get { return tfambaseclinetid; } //BaseClinetId set { tfambaseclinetid = value; } //BaseClinetId } #endregion #region Standard public byte TFamStatus { get { return tfamstatus; } //Status set { tfamstatus = value; } //Status } public Int16 TFamVersion { get { return tfamversion; } //Version set { tfamversion = value; } //Version } #endregion private int famsave; public int FamSave { get { return famsave; } //Name set { famsave = value; } //Name } #endregion } }