Beta 1.0.0.3
Updates: 1, Dashboard 2. Idivdual transactions
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Globalization;
|
||||
|
||||
|
||||
namespace APISocietyToolBox.Models
|
||||
{
|
||||
public class MemberBillsListModel
|
||||
{
|
||||
[Key]
|
||||
public string? BillID { get; set; }
|
||||
public string? BillNo { get; set; }
|
||||
public DateTime BillDate { get; set; }
|
||||
public DateTime BillMonth { get; set; }
|
||||
public string? MemberName { get; set; }
|
||||
public string? UnitNo { get; set; }
|
||||
public decimal BillAmount { get; set; }
|
||||
}
|
||||
|
||||
public class BillsDetailsModel
|
||||
{
|
||||
[Key]
|
||||
public string? BillID { get; set; }
|
||||
public Int32 LedgerID { get; set; }
|
||||
public string? LedgerName { get; set; }
|
||||
public string? Remarks { get; set;}
|
||||
public decimal LedgerAmount { get; set;}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Globalization;
|
||||
|
||||
|
||||
namespace APISocietyToolBox.Models
|
||||
{
|
||||
public class DashBoardOutandingSummaryModel
|
||||
{
|
||||
[Key]
|
||||
public Int64 PropertyUnitID { get; set; }
|
||||
public string? BuildingNo { get; set; }
|
||||
public string? UnitNo { get; set; }
|
||||
public string? MemberName { get; set; }
|
||||
public decimal ClosingBal { get; set; }
|
||||
public decimal LastReceiptAmt { get; set; }
|
||||
public DateTime? LastReceiptDate { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class DashBoardTransactionsModel
|
||||
{
|
||||
[Key]
|
||||
public string DocID { get; set; }
|
||||
public string? DocNo { get; set; }
|
||||
public DateTime DocDate { get; set; }
|
||||
public string? MemberName { get; set; }
|
||||
public string? UnitNo { get; set; }
|
||||
public decimal DocAmount { get; set; }
|
||||
public string? TRType { get; set; }
|
||||
public Int32 NewTRStatus { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Globalization;
|
||||
|
||||
|
||||
namespace APISocietyToolBox.Models
|
||||
{
|
||||
public class MemberTransactionsListModel
|
||||
{
|
||||
[Key]
|
||||
public string? TransactionID { get; set; }
|
||||
public string? TransactionNo { get; set; }
|
||||
public DateTime TransactionDate { get; set; }
|
||||
public Int32 TransactionTypeID { get; set; }
|
||||
public string? MemberName { get; set; }
|
||||
public string? CashBankLedger { get; set; }
|
||||
public string? Remarks { get; set; }
|
||||
public string? UnitNo { get; set; }
|
||||
public decimal TransactionAmount { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
+19
-18
@@ -9,15 +9,15 @@ namespace APISocietyToolBox.Models
|
||||
public class UserModel
|
||||
{
|
||||
[Key]
|
||||
public Int32? UserID { get; set; } = null;
|
||||
public long? UserID { get; set; } = null;
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string LoginName { get; set; } = string.Empty;
|
||||
public string LoginPassword { get; set; } = string.Empty;
|
||||
public string PasswordSalt { get; set; } = string.Empty;
|
||||
public string UserRole { get; set; } = string.Empty;
|
||||
public Int32? UserRoleID { get; set; }
|
||||
public Int32? PropertyID { get; set; }
|
||||
public int MemberID { get; set; }
|
||||
public long? UserRoleID { get; set; }
|
||||
public long? PropertyID { get; set; }
|
||||
public long MemberID { get; set; }
|
||||
public string? RefreshToken { get; set; } = string.Empty;
|
||||
public DateTime? TokenCreated { get; set; }
|
||||
public DateTime? TokenExpires { get; set; }
|
||||
@@ -39,10 +39,10 @@ namespace APISocietyToolBox.Models
|
||||
public string StatusMessage { get; set; } = string.Empty;
|
||||
public string? UserName { get; set; } = string.Empty;
|
||||
public string? UserRole { get; set; } = string.Empty;
|
||||
public Int32? UserRoleID { get; set; } = null;
|
||||
public Int32? UserID { get; set; } = null;
|
||||
public int PropertyID { get; set; }
|
||||
public int MemberID { get; set; }
|
||||
public long? UserRoleID { get; set; } = null;
|
||||
public long? UserID { get; set; } = null;
|
||||
public Int32? PropertyID { get; set; }
|
||||
//public Int32 MemberID { get; set; }
|
||||
public string? RefreshToken { get; set; } = string.Empty;
|
||||
public DateTime? TokenCreated { get; set; }
|
||||
public DateTime? TokenExpires { get; set; }
|
||||
@@ -51,24 +51,25 @@ namespace APISocietyToolBox.Models
|
||||
|
||||
public class LoginResponseModel
|
||||
{
|
||||
[Key]
|
||||
public int? Status { get; set; }
|
||||
public string StatusMessage { get; set; } = string.Empty;
|
||||
[Key]
|
||||
public Int32 UserID { get; set; }
|
||||
public Int32 UserRoleID { get; set; }
|
||||
|
||||
public long UserID { get; set; }
|
||||
public long UserRoleID { get; set; }
|
||||
public string UserRole { get; set; } = string.Empty;
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string LoginPassword { get; set; } = string.Empty;
|
||||
public string PasswordSalt { get; set; } = string.Empty;
|
||||
public Int32 PropertyID { get; set; }
|
||||
public Int32 MemberID { get; set; }
|
||||
public long PropertyID { get; set; }
|
||||
public long MemberID { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class UserResponseModel
|
||||
{
|
||||
[Key]
|
||||
public Int64 UserID { get; set; }
|
||||
public Int32 UserID { get; set; }
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public int Status { get; set; }
|
||||
public string StatusMessage { get; set; } = string.Empty;
|
||||
@@ -88,14 +89,14 @@ namespace APISocietyToolBox.Models
|
||||
|
||||
}
|
||||
|
||||
public class UserTokens
|
||||
public class UserTokensHistory
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public Int32 UserTokenID { get; set; }
|
||||
public Int64? UserID { get; set; }
|
||||
public Int32? UserRoleID { get; set; }
|
||||
public Int32? PropertyID { get; set; }
|
||||
public long? UserID { get; set; }
|
||||
public long? UserRoleID { get; set; }
|
||||
public long? PropertyID { get; set; }
|
||||
public string? RefreshToken { get; set; }
|
||||
public DateTime? TokenExpires { get; set; }
|
||||
public DateTime? TokenCreated { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user