using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MMDAL.DTO.MMHead { public class MMToAccountPostDTO { private int accountid; private string accountcode; private string accountname; private int accountgroupid; private int billallocationtype = 1; private int costcenterid; private int bizdimensionvaluesetid; private int l1id; private string l1code; private string l1name; private int l2id; private string l2code; private string l2name; private int l3id; private string l3code; private string l3name; private int l4id; private string l4code; private string l4name; private int l5id; private string l5code; private string l5name; private int detailtype; private decimal amount; private int accounttype; private string narration; public int AccountId { get { return accountid; } set { accountid = value; } } public string AccountCode { get { return accountcode; } set { accountcode = value; } } public string AccountName { get { return accountname; } set { accountname = value; } } public int AccountGroupId { get { return accountgroupid; } set { accountgroupid = value; } } public int BillAllocationType { get { return billallocationtype; } set { billallocationtype = value; } } public int CostCenterId { get { return costcenterid; } set { costcenterid = value; } } public int BizDimensionValueSetId { get { return bizdimensionvaluesetid; } set { bizdimensionvaluesetid = value; } } public int L1Id { get { return l1id; } set { l1id = value; } } public string L1Code { get { return l1code; } set { l1code = value; } } public string L1Name { get { return l1name; } set { l1name = value; } } public int L2Id { get { return l2id; } set { l2id = value; } } public string L2Code { get { return l2code; } set { l2code = value; } } public string L2Name { get { return l2name; } set { l2name = value; } } public int L3Id { get { return l3id; } set { l3id = value; } } public string L3Code { get { return l3code; } set { l3code = value; } } public string L3Name { get { return l3name; } set { l3name = value; } } public int L4Id { get { return l4id; } set { l4id = value; } } public string L4Code { get { return l4code; } set { l4code = value; } } public string L4Name { get { return l4name; } set { l4name = value; } } public int L5Id { get { return l5id; } set { l5id = value; } } public string L5Code { get { return l5code; } set { l5code = value; } } public string L5Name { get { return l5name; } set { l5name = value; } } public int DetailType { get { return detailtype; } set { detailtype = value; } } public decimal Amount { get { return amount; } set { amount = value; } } public int AccountType { get { return accounttype; } set { accounttype = value; } } // Only populated by GET_MM2_ACCOUNT_POST_PREVIEW_DATA (MM2ACCOUNTPOST_PREVIEW_TVP) — // GET_MM2_ACCOUNT_POST_DATA's MM2ACCOUNTPOST proc doesn't compute a narration, so this // stays null for that flow. public string Narration { get { return narration; } set { narration = value; } } } }