22 lines
582 B
C#
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; }
|
|
}
|
|
} |