This commit is contained in:
Zeeshaun
2026-04-07 14:21:04 -05:00
parent e37826fe30
commit 75ea216a17
264 changed files with 15920 additions and 0 deletions
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using LCU.Library.Internal.LoanRateModels.Enums;
using LCU.Library.Internal.TypeExtensions.EnumExtensions;
namespace LCU.Library.Internal.LoanRateModels.Entities;
public class RateSheet
{
[Key]
public int RateSheetId { get; set; }
[Required]
public RateTypes RateType { get; set; }
[Required]
public string CreatedBy { get; set; } = "System";
public DateTime TimeCreated { get; set; } = DateTime.Now;
public string SheetName => RateType.GetNameFromValue();
[ForeignKey("RateSheetId")]
public ICollection<Rate> Rates { get; set; }
[ForeignKey("RateSheetId")]
public ICollection<RateSheetCell> RateSheetCells { get; set; }
}