first commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Landmark.OLA.Models.Assets.Enums;
|
||||
|
||||
namespace Landmark.OLA.Models.Assets
|
||||
{
|
||||
public class RealEstateBase : OlaModel
|
||||
{
|
||||
//Slightly arbitrary values that should be safe
|
||||
[Range(0, 1000000000)]
|
||||
public decimal InitialEstimatedValue { get; set; }
|
||||
|
||||
[Required]
|
||||
public PropertyUse? Use { get; set; }
|
||||
|
||||
public bool? HasSpa { get; set; }
|
||||
|
||||
public bool? HasPool { get; set; }
|
||||
|
||||
public bool? HasBasement { get; set; }
|
||||
|
||||
public bool? HasCentralAir { get; set; }
|
||||
|
||||
public bool? HasGarage { get; set; }
|
||||
|
||||
public bool? InFloodZone { get; set; }
|
||||
|
||||
public bool? InEquity { get; set; }
|
||||
|
||||
public bool? IsPropertyHeldInTrust { get; set; }
|
||||
|
||||
public bool IsCollateral { get; set; } = true;
|
||||
|
||||
public bool IsTradeIn { get; set; }
|
||||
|
||||
public LienPosition LienPosition { get; set; }
|
||||
|
||||
[Required]
|
||||
public bool? CurrentlyListedForSale { get; set; }
|
||||
|
||||
[Required]
|
||||
public bool? CurrentlyBeingRemodeledOrImproved { get; set; }
|
||||
|
||||
public RealEstateBase(Guid? realEstateBaseId = null)
|
||||
{
|
||||
Id = realEstateBaseId.HasValue ? realEstateBaseId.Value.ToString() : null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user