This commit is contained in:
Zeeshaun
2026-04-20 14:47:24 -05:00
parent 89057eceea
commit 8b3ea92501
485 changed files with 71042 additions and 0 deletions
@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace LCU.Shared.Collections.RepoApiLib.Models
{
public class Collateral
{
[Required]
public int CollateralId { get; set; }
[Required]
public int RepoId { get; set; }
public string Vin { get; set; }
public string Make { get; set; }
public string Model { get; set; }
public int? Year { get; set; }
public string Description { get; set; }
public int? VehicleType { get; set; }
public string BodyStyle { get; set; }
public bool? Inoperable { get; set; }
public int? CollateralTypeId { get; set; }
public DateTime? RetitledInLandmarkName { get; set; }
public string RefCollateralId { get; set; }
[ForeignKey("CollateralId")]
public IReadOnlyCollection<RepoCompanySelection> RepoCompanySelections { get; set; }
[ForeignKey("RepoId")]
[JsonIgnore]
public RepoAccount RepoAccount { get; set; }
[JsonIgnore]
public IEnumerable<AuctionAssignmentToCollateral> AuctionAssignmentToCollaterals { get; set; }
}
}