87c807c16c
- Implemented ChequeBooksPage for viewing and filtering cheque books. - Added NewReceivedChequePage for recording received cheques. - Created ReceivedChequesPage for listing and managing received cheques. - Introduced API endpoints for bank accounts, cheque books, and received cheques. - Defined types for payments including bank accounts, cheque books, and received cheques.
39 lines
1.3 KiB
C#
39 lines
1.3 KiB
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Distribution.Models
|
|
{
|
|
public class ChequePage : Template
|
|
{
|
|
public string ChequeNo { get; set; } = string.Empty;
|
|
|
|
public Guid FK_ChequeBookId { get; set; }
|
|
[ForeignKey("FK_ChequeBookId")]
|
|
public ChequeBook? ChequeBook { get; set; }
|
|
|
|
public ChequePageIssueStatus IssueStatus { get; set; } = ChequePageIssueStatus.Unused;
|
|
|
|
public PayeeType? PayeeType { get; set; }
|
|
public int? PayeeId { get; set; }
|
|
public string? PayeeName { get; set; }
|
|
|
|
public DateTime? IssueDate { get; set; }
|
|
public decimal? Amount { get; set; }
|
|
public string? CurrencyCode { get; set; }
|
|
|
|
public int? VoucherId { get; set; }
|
|
public string? ReferenceNo { get; set; }
|
|
public string? Purpose { get; set; }
|
|
|
|
public bool? IsCrossCheque { get; set; }
|
|
public bool? IsAccountPayee { get; set; }
|
|
public bool? IsPostDated { get; set; }
|
|
public string? Notes { get; set; }
|
|
|
|
public string? PrintedBy { get; set; }
|
|
public DateTime? PrintedAt { get; set; }
|
|
public DateTime? ClearedDate { get; set; }
|
|
public bool? ClearedByBank { get; set; }
|
|
public string? CancelReason { get; set; }
|
|
}
|
|
}
|