using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.AccountGroup { public class AccountGroupDTO { #region PrivateMembers #region Accounts private int accountgroupid; private string accountgroupcode; private string accountgroupname; private string accountgroupshortname; private byte accountgroupnature; private string accountgroupnaturename; private int parentid; private string parentcode; private string parentname; private int accountgroupaccountscheduleid; private string accountgroupaccountschedulecode; private string accountgroupaccountschedulename; private byte accountgroupaccountschedulenature; private string accountgroupaccountschedulenaturename; private int oppositegroupid; //if balance of an account in this group is contra to normal account type, then which group to take private string oppositegroupcode; private string oppositegroupname; #endregion #region Base private int accountgroupcreatedbyid; //Created By Person (User Id) private string accountgroupcreatedbyname; //Created By Person (User Name) private DateTime accountgroupcreatedon; //Created On Date private int accountgroupmodifiedbyid; //Modified By Person (User Id) private string accountgroupmodifiedbyname; //Modified By Person (User Name) private DateTime accountgroupmodifiedon; //Modified On Date #endregion #region Standard private Int16 accountgroupsortorder; private byte accountgroupstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 accountgroupversion; //No Of Times Updated private byte accountgroupsourcetype; //SourceType #endregion private int accountgroupscreenoperationmode = 1; #endregion #region PublicMembers #region Accounts public int AccountGroupId { get { return accountgroupid; } set { accountgroupid = value; } } public string AccountGroupCode { get { return accountgroupcode; } set { accountgroupcode = value; } } public string AccountGroupName { get { return accountgroupname; } set { accountgroupname = value; } } public string AccountGroupShortName { get { return accountgroupshortname; } set { accountgroupshortname = value; } } public string AccountGroupNatureName { get { return accountgroupnaturename; } set { accountgroupnaturename = value; } } public byte AccountGroupNature { get { return accountgroupnature; } set { accountgroupnature = value;} } public int ParentId { get { return parentid; } set { parentid = value; } } public string ParentCode { get { return parentcode; } set { parentcode = value; } } public string ParentName { get { return parentname; } set { parentname = value; } } public int AccountGroupAccountScheduleId { get { return accountgroupaccountscheduleid; } set { accountgroupaccountscheduleid = value; } } public string AccountGroupAccountScheduleCode { get { return accountgroupaccountschedulecode; } set { accountgroupaccountschedulecode = value; } } public string AccountGroupAccountScheduleName { get { return accountgroupaccountschedulename; } set { accountgroupaccountschedulename = value; } } public byte AccountGroupAccountScheduleNature { get { return accountgroupaccountschedulenature; } set { accountgroupaccountschedulenature = value; } } public string AccountGroupAccountScheduleNatureName { get { return accountgroupaccountschedulenaturename; } set { accountgroupaccountschedulenaturename = value; } } public int OppositeGroupId { get { return oppositegroupid; } //if balance of an account in this group is contra to normal account type, then which group to take set { oppositegroupid = value; } //if balance of an account in this group is contra to normal account type, then which group to take } public string OppositeGroupCode { get { return oppositegroupcode; } //if balance of an account in this group is contra to normal account type, then which group to take set { oppositegroupcode = value; } //if balance of an account in this group is contra to normal account type, then which group to take } public string OppositeGroupName { get { return oppositegroupname; } //if balance of an account in this group is contra to normal account type, then which group to take set { oppositegroupname = value; } //if balance of an account in this group is contra to normal account type, then which group to take } #endregion #region Base public int AccountGroupCreatedById { get { return accountgroupcreatedbyid; } //Created By Person (User Id) set { accountgroupcreatedbyid = value; } //Created By Person (User Id) } public string AccountGroupCreatedByName { get { return accountgroupcreatedbyname; } //Created By Person (User Name) set { accountgroupcreatedbyname = value; } //Created By Person (User Name) } public DateTime AccountGroupCreatedOn { get { return accountgroupcreatedon; } //Created On Date set { accountgroupcreatedon = value; } //Created On Date } public int AccountGroupModifiedById { get { return accountgroupmodifiedbyid; } //Modified By Person (User Id) set { accountgroupmodifiedbyid = value; } } public string AccountGroupModifiedByName { get { return accountgroupmodifiedbyname; } //Modified By Person (User Name) set { accountgroupmodifiedbyname = value; } } public DateTime AccountGroupModifiedOn { get { return accountgroupmodifiedon; } //Modified On Date set { accountgroupmodifiedon = value; } } #endregion #region Standard public Int16 AccountGroupSortOrder { get { return accountgroupsortorder; } set { accountgroupsortorder = value; } } public byte AccountGroupStatus { get { return accountgroupstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { accountgroupstatus = value; } } public Int16 AccountGroupVersion { get { return accountgroupversion; } //No Of Times Updated set { accountgroupversion = value; } } public byte AccountGroupSourceType { get { return accountgroupsourcetype; } //SourceType set { accountgroupsourcetype = value; } } #endregion public int AccountGroupScreenOperationMode { get { return accountgroupscreenoperationmode; } set { accountgroupscreenoperationmode = value; } } #endregion } }