using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Terms { public class TermsSetDTO { #region PrivateMembers #region Terms private int termssetid; //Id private string termssetname; //Name private byte termssettype; //Type private byte termssetissalesapplicable; //IsSalesApplicable private byte termssetispurchaseapplicable; //IsPurchaseApplicable #endregion #region Base private Int16 termssetsortorder; //SortOrder private byte termssetstatus; //Status private Int16 termssetversion; //Version #endregion #region Standard private int termssetcreatedbyid; //CreatedById private DateTime termssetcreatedon; //CreatedOn private string termssetcreatedbyname; //CreatedByName private int termssetmodifiedbyid; //ModifiedById private DateTime termssetmodifiedon; //ModifiedOn private string termssetmodifiedbyname; //ModifiedByName #endregion private List termssetdetailarray = new List(); #endregion #region PublicMembers #region Terms public int TermsSetId { get { return termssetid; } //Id set { termssetid = value; } //Id } public string TermsSetName { get { return termssetname; } //Name set { termssetname = value; } //Name } public byte TermsSetType { get { return termssettype; } //Type set { termssettype = value; if (termssettype == 0) { TermsSetTypeName = "Template"; } else { TermsSetTypeName = "DocSpecific"; } } //Type } public string TermsSetTypeName { get; set; } public byte TermsSetIsSalesApplicable { get { return termssetissalesapplicable; } //IsSalesApplicable set { termssetissalesapplicable = value; } //IsSalesApplicable } public byte TermsSetIsPurchaseApplicable { get { return termssetispurchaseapplicable; } //IsPurchaseApplicable set { termssetispurchaseapplicable = value; } //IsPurchaseApplicable } #endregion #region Base public Int16 TermsSetSortOrder { get { return termssetsortorder; } //SortOrder set { termssetsortorder = value; } //SortOrder } public byte TermsSetStatus { get { return termssetstatus; } //Status set { termssetstatus = value; } //Status } public Int16 TermsSetVersion { get { return termssetversion; } //Version set { termssetversion = value; } //Version } #endregion #region Standard public int TermsSetCreatedById { get { return termssetcreatedbyid; } //CreatedById set { termssetcreatedbyid = value; } //CreatedById } public DateTime TermsSetCreatedOn { get { return termssetcreatedon; } //CreatedOn set { termssetcreatedon = value; } //CreatedOn } public string TermsSetCreatedByName { get { return termssetcreatedbyname; } //CreatedByName set { termssetcreatedbyname = value; } //CreatedByName } public int TermsSetModifiedById { get { return termssetmodifiedbyid; } //ModifiedById set { termssetmodifiedbyid = value; } //ModifiedById } public DateTime TermsSetModifiedOn { get { return termssetmodifiedon; } //ModifiedOn set { termssetmodifiedon = value; } //ModifiedOn } public string TermsSetModifiedByName { get { return termssetmodifiedbyname; } //ModifiedByName set { termssetmodifiedbyname = value; } //ModifiedByName } #endregion public List TermsSetDetailArray { get { return termssetdetailarray; } set { termssetdetailarray = value; } } #endregion } }