25 lines
743 B
C#
25 lines
743 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace LCU.Library.Internal.LoanRateModels.Entities;
|
|
|
|
public class RateUploadInfo
|
|
{
|
|
[Key]
|
|
public int RateUploadInfoId { get; set; }
|
|
public int Version { get; set; }
|
|
public string Filename { get; set; }
|
|
public DateTime EffectiveDate { get; set; }
|
|
public DateTime TimeCreated { get; set; }
|
|
public string CreatedBy { get; set; }
|
|
public int RateCount { get; set; }
|
|
|
|
[ForeignKey("RateUploadInfoId")]
|
|
public ICollection<Rate> Rates { get; set; }
|
|
|
|
[ForeignKey("ClosingRateUploadInfoId")]
|
|
public ICollection<Rate>? ClosedRates { get; set; }
|
|
}
|