@@ -7,20 +7,17 @@ public class CustomerPayment
77 public int Id { get ; set ; }
88 public int CustomerId { get ; set ; }
99 public double Amount { get ; set ; }
10- public int LedgerAccountId { get ; set ; }
1110 public string ReferenceNo { get ; set ; }
1211 public string PaidBy { get ; set ; }
1312 public string PaidByMobile { get ; set ; }
14- public DateTime PaymentDate { get ; set ; }
1513 public string PaymentStatus { get ; set ; }
1614 public string RegisteredBy { get ; set ; }
17- public Customer Customer { get ; set ; }
1815 public string Narration { get ; set ; }
1916 public string CustomerName { get ; set ; }
2017 public string LedgerAccountName { get ; set ; }
21- public LedgerAccount LedgerAccount { get ; set ; }
22- public int CompanyBranchId { get ; set ; }
23- public object CompanyBranch { get ; set ; }
18+ public int LedgerAccountId { get ; set ; }
19+ public DateTime PaymentDate { get ; set ; }
20+ public Customer Customer { get ; set ; }
2421 }
2522
2623 public class Customer
@@ -29,41 +26,5 @@ public class Customer
2926 public string FirstName { get ; set ; }
3027 public string LastName { get ; set ; }
3128 public string CompanyName { get ; set ; }
32- public string PrimaryMobile { get ; set ; }
33- public string SecondaryMobile { get ; set ; }
34- public string PrimaryEmail { get ; set ; }
35- public string SecondaryEmail { get ; set ; }
36- public string Address { get ; set ; }
37- public double OpeningBalance { get ; set ; }
38- public DateTime OpeningDate { get ; set ; }
39- public double CurrentBalance { get ; set ; }
40- public double CreditLimit { get ; set ; }
41- public string TaxRefNo { get ; set ; }
42- public string BankAccount { get ; set ; }
43- public string RoutingNo { get ; set ; }
44- public string MoreDetails { get ; set ; }
45- public DateTime LastModified { get ; set ; }
46- public int LastModifiedAtBranchId { get ; set ; }
47- public string ModifiedBy { get ; set ; }
48- public string DefaultPriceScheme { get ; set ; }
49- public bool IsActive { get ; set ; }
50- public string Status { get ; set ; }
51- public string FullName { get ; set ; }
52- }
53-
54- public class LedgerAccount
55- {
56- public int Id { get ; set ; }
57- public int LedgerAccountTypeId { get ; set ; }
58- public string AccountCode { get ; set ; }
59- public string AccountName { get ; set ; }
60- public string Description { get ; set ; }
61- public double OpeningBalance { get ; set ; }
62- public DateTime OpeningDate { get ; set ; }
63- public bool IsBankAccount { get ; set ; }
64- public string BankAccountName { get ; set ; }
65- public string BankAccountNumber { get ; set ; }
66- public string AcCode { get ; set ; }
67- public object LedgerAccountType { get ; set ; }
6829 }
6930}
0 commit comments