Files
2026-04-20 14:47:24 -05:00

38 lines
1.2 KiB
C#

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; }
}
}