Beta 1.0.0.4

1. BillsController - > Endpoints
2. NoticeboardController -  > Endpoints
3. ReportsController - > EndPoints
4.TransactionController -> Endpoints
5. UsersController - > Endpoints
This commit is contained in:
2024-03-09 23:30:19 +05:30
parent 8fa72ae97e
commit 10c3957ce1
13 changed files with 376 additions and 11 deletions
+23
View File
@@ -0,0 +1,23 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
namespace APISocietyToolBox.Models
{
public class ResponseNoticeBoardModel
{
public Int32 Status { get; set; }
public string? StatusMessage { get; set; }
[Key]
public Int32 NoticeID { get; set; }
}
public class NoticeBoardMessageModel
{
[Key]
public Int64 NoticeID { get; set; }
public string? NoticeMessage { get; set; }
public DateTime NoticeDate { get; set; }
}
}
+14
View File
@@ -0,0 +1,14 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
namespace APISocietyToolBox.Models
{
public class PropertyUnitUserModel
{
[Key]
public Int64 PropertyUnitID { get; set; }
public string? UnitNo { get; set; }
}
}
+19
View File
@@ -0,0 +1,19 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
namespace APISocietyToolBox.Models
{
public class PropertyUnitLedgerReportsModel
{
[Key]
public Int64? LEDROWID { get; set; }
public string? DocName { get; set; }
public DateTime? DocDate { get; set; }
public string? Remarks { get; set; }
public Decimal? DebitAmount { get; set; }
public Decimal? CreditAmount { get; set; }
public Decimal? BalanceAmount { get; set; }
}
}
+2
View File
@@ -19,4 +19,6 @@ namespace APISocietyToolBox.Models
public decimal TransactionAmount { get; set; }
}
}
+10 -6
View File
@@ -21,7 +21,7 @@ namespace APISocietyToolBox.Models
public string? RefreshToken { get; set; } = string.Empty;
public DateTime? TokenCreated { get; set; }
public DateTime? TokenExpires { get; set; }
}
public class UserTokenRefreshModel
@@ -46,7 +46,7 @@ namespace APISocietyToolBox.Models
public string? RefreshToken { get; set; } = string.Empty;
public DateTime? TokenCreated { get; set; }
public DateTime? TokenExpires { get; set; }
}
public class LoginResponseModel
@@ -54,7 +54,7 @@ namespace APISocietyToolBox.Models
[Key]
public int? Status { get; set; }
public string StatusMessage { get; set; } = string.Empty;
public long UserID { get; set; }
public long UserRoleID { get; set; }
public string UserRole { get; set; } = string.Empty;
@@ -69,7 +69,7 @@ namespace APISocietyToolBox.Models
public class UserResponseModel
{
[Key]
public Int32 UserID { get; set; }
public Int64 UserID { get; set; }
public string UserName { get; set; } = string.Empty;
public int Status { get; set; }
public string StatusMessage { get; set; } = string.Empty;
@@ -88,7 +88,11 @@ namespace APISocietyToolBox.Models
public Int32 MemberID { get; set; }
}
public class UserMemberMappingModel
{
public Int32? UserID { get; set; }
public Int32 MemberID { get; set; }
}
public class UserTokensHistory
{
[Key]
@@ -100,7 +104,7 @@ namespace APISocietyToolBox.Models
public string? RefreshToken { get; set; }
public DateTime? TokenExpires { get; set; }
public DateTime? TokenCreated { get; set; }
}
public class RefreshToken