using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.TransactionType { public class TransactionTypeDTO { #region PrivateMembers #region TransactionType private int transactiontypeid; private string transactiontypecode; private string transactiontypename; private int transactiontypetype; //0.Transfer,1.Purchase,3.Sales private byte transactiontypelocationtype; private string transactiontypeformreceived; private string transactiontypeformissued; private byte transactiontypeisformreceived; private byte transactiontypeisformissued; private int transactiontypetransctype; //transactiontype private int transactiontypecredittype; private int transactiontypetrackingtype; private string transactiontypevatcategory; private string transactiontypevatsection = "NONE"; private int transactiontyperg1category; private int gstcategoryid = -1; private string gstcategoryname = "NONE"; private byte transactiontyperegistration; private string transactiontypelocationtypename; private string transactiontypetypename; #endregion #region Base private int transactiontypecreatedbyid; //Created By Person (User Id) private string transactiontypecreatedbyname; //Created By Person (Name) private DateTime transactiontypecreatedon; //Created On Date private int transactiontypemodifiedbyid; //Modified By Person (User Id) private string transactiontypemodifiedbyname; //Modified By Person (Name) private DateTime transactiontypemodifiedon; //Modified On Date #endregion #region Standard private Int16 transactiontypesortorder; private byte transactiontypestatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 transactiontypeversion; //No Of Times Updated private byte transactiontypesourcetype; #endregion #endregion #region PublicMembers #region TransactionType public int TransactionTypeId { get { return transactiontypeid; } set { transactiontypeid = value; } } public string TransactionTypeCode { get { return transactiontypecode; } set { transactiontypecode = value; } } public string TransactionTypeName { get { return transactiontypename; } set { transactiontypename = value; } } //public int TransactionTypeType //{ // get { return transactiontypetype; } //0.Transfer,1.Purchase,3.Sales // set { transactiontypetype = value; TransactionTypeTypeName = ((Gb4EnumDTO.TransactionTypeType)TransactionTypeType).ToString(); } // //0.Transfer,1.Purchase,3.Sales //} public string TransactionTypeTypeName { get { return transactiontypetypename; } //0.Transfer,1.Purchase,3.Sales set { transactiontypetypename = value; } //0.Transfer,1.Purchase,3.Sales } //public byte TransactionTypeLocationType //{ // get { return transactiontypelocationtype; } // set { transactiontypelocationtype = value; TransactionTypeLocationTypeName = ((Gb4EnumDTO.TransactionTypeLocationType)TransactionTypeLocationType).ToString(); } //} public string TransactionTypeLocationTypeName { get { return transactiontypelocationtypename; } set { transactiontypelocationtypename = value; } } public String TransactionTypeFormReceived { get { return transactiontypeformreceived; } set { transactiontypeformreceived = value; } } public String TransactionTypeFormIssued { get { return transactiontypeformissued; } set { transactiontypeformissued = value; } } public byte TransactionTypeIsFormReceived { get { return transactiontypeisformreceived; } set { transactiontypeisformreceived = value; } } public byte TransactionTypeIsFormIssued { get { return transactiontypeisformissued; } set { transactiontypeisformissued = value; } } public String TransactionTypeVatCategory { get { return transactiontypevatcategory; } set { transactiontypevatcategory = value; } } public int TransactionTypeTranscType { get { return transactiontypetransctype; } set { transactiontypetransctype = value; } } //public virtual int TransactionTypeCreditType //{ // get { return transactiontypecredittype; } //0.Local // set { transactiontypecredittype = value; TransactionTypeCreditTypeName = ((Gb4EnumDTO.TransactionTypeCreditType)TransactionTypeCreditType).ToString(); } // //0.Local //} //public virtual int TransactionTypeTrackingType //{ // get { return transactiontypetrackingtype; } //0.Local // set { transactiontypetrackingtype = value; TransactionTypeTrackingTypeName = ((Gb4EnumDTO.TransactionTypeTrackingType)TransactionTypeTrackingType).ToString(); } // //0.Local //} public String TransactionTypeVatSection { get { return transactiontypevatsection; } set { transactiontypevatsection = value; } } //public int TransactionTypeRG1Category //{ // get { return transactiontyperg1category; } // set { transactiontyperg1category = value; TransactionTypeRG1CategoryName = ((Gb4EnumDTO.TransactionTypeRg1Category)TransactionTypeRG1Category).ToString(); } //} private string transactiontyperg1categoryname; public string TransactionTypeRG1CategoryName { get { return transactiontyperg1categoryname; } set { transactiontyperg1categoryname = value; } } private string transactiontypecredittypename; public string TransactionTypeCreditTypeName { get { return transactiontypecredittypename; } set { transactiontypecredittypename = value; } } private string transactiontypetrackingtypename; public virtual string TransactionTypeTrackingTypeName { get { return transactiontypetrackingtypename; } //0.Local set { transactiontypetrackingtypename = value; } //0.Local } public int GSTCategoryId { get { return gstcategoryid; } set { gstcategoryid = value; } } public string GSTCategoryName { get { return gstcategoryname; } set { gstcategoryname = value; } } public byte TransactionTypeRegistration { get { return transactiontyperegistration; } set { transactiontyperegistration = value; } } #endregion #region Base public int TransactionTypeCreatedById { get { return transactiontypecreatedbyid; } //Created By Person (User Id) set { transactiontypecreatedbyid = value; } //Created By Person (User Id) } public string TransactionTypeCreatedByName { get { return transactiontypecreatedbyname; } //Created By Person (Name) set { transactiontypecreatedbyname = value; } //Created By Person (Name) } public DateTime TransactionTypeCreatedOn { get { return transactiontypecreatedon; } //Created On Date set { transactiontypecreatedon = value; } //Created On Date } public int TransactionTypeModifiedById { get { return transactiontypemodifiedbyid; } //Modified By Person (User Id) set { transactiontypemodifiedbyid = value; } } public string TransactionTypeModifiedByName { get { return transactiontypemodifiedbyname; } //Modified By Person (Name) set { transactiontypemodifiedbyname = value; } } public DateTime TransactionTypeModifiedOn { get { return transactiontypemodifiedon; } //Modified On Date set { transactiontypemodifiedon = value; } } #endregion #region Standard public Int16 TransactionTypeSortOrder { get { return transactiontypesortorder; } set { transactiontypesortorder = value; } } public byte TransactionTypeStatus { get { return transactiontypestatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { transactiontypestatus = value; } } public Int16 TransactionTypeVersion { get { return transactiontypeversion; } //No Of Times Updated set { transactiontypeversion = value; } } public byte TransactionTypeSourceType { get { return transactiontypesourcetype; } //Source type set { transactiontypesourcetype = value; } } #endregion #endregion } }