24 lines
579 B
C#
24 lines
579 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Landmark.OLA.Models.Residences
|
|
{
|
|
public class CurrentResidenceAddress : ResidenceAddress, ICurrentResidenceAddress
|
|
{
|
|
[Required]
|
|
//Slightly arbitrary values that should be safe
|
|
[Range(0, 1000000000)]
|
|
//Nullable so that there is no default value
|
|
public decimal? MonthlyPayment { get; set; }
|
|
|
|
public CurrentResidenceAddress()
|
|
: base()
|
|
{
|
|
}
|
|
|
|
public CurrentResidenceAddress(Guid id)
|
|
: base(id)
|
|
{
|
|
}
|
|
}
|
|
}
|