This commit is contained in:
@@ -23,10 +23,31 @@ namespace AyaNova.Models
|
||||
public string CustomFields { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
public string Serial { get; set; }
|
||||
public long? WorkOrderItemLoanId { get; set; }//deliberately named for efcore relationship magic
|
||||
|
||||
[Required]
|
||||
public decimal RateHour { get; set; }
|
||||
[Required]
|
||||
public decimal RateHalfDay { get; set; }
|
||||
[Required]
|
||||
public decimal RateDay { get; set; }
|
||||
[Required]
|
||||
public decimal RateWeek { get; set; }
|
||||
[Required]
|
||||
public decimal RateMonth { get; set; }
|
||||
[Required]
|
||||
public decimal RateYear { get; set; }
|
||||
|
||||
[Required]
|
||||
public LoanUnitRateUnit DefaultRate { get; set; }
|
||||
public long? UnitId { get; set; }//deliberately named for efcore relationship magic Shadow unit
|
||||
|
||||
|
||||
public LoanUnit()
|
||||
{
|
||||
Tags = new List<string>();
|
||||
DefaultRate = LoanUnitRateUnit.Days;
|
||||
}
|
||||
|
||||
[NotMapped, JsonIgnore]
|
||||
|
||||
Reference in New Issue
Block a user