Files
monorepo/LCU.API.Internal.RepoApi/LCU.API.Internal.RepoApi.Repos/Models/Borrower.cs
T
2026-03-13 09:27:34 -05:00

22 lines
582 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace LCU.API.Internal.RepoApi.Repos.Models
{
public class Borrower
{
[Required]
public int RepoId { get; set; }
[Required]
public string IndividualId { get; set; }
[Required]
public int OwnershipType { get; set; }
[Required]
public string IndividualName { get; set; }
[ForeignKey("RepoId")]
[JsonIgnore]
public RepoAccount RepoAccount { get; set; }
}
}