This commit is contained in:
@@ -17,7 +17,7 @@ namespace AyaNova.Models
|
||||
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
[Required]
|
||||
[Required]
|
||||
public bool Active { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public string Wiki { get; set; }
|
||||
@@ -25,8 +25,11 @@ namespace AyaNova.Models
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
public string Serial { get; set; }
|
||||
|
||||
//MIGRATE_OUTSTANDING this needs to be set in migrate v8 once workorderitemloan is coded and importable
|
||||
public long? WorkOrderItemLoanId { get; set; }
|
||||
[NotMapped]
|
||||
public string WorkOrderItemLoanViz { get; set; }
|
||||
|
||||
[Required]
|
||||
public decimal RateHour { get; set; }
|
||||
@@ -43,7 +46,11 @@ namespace AyaNova.Models
|
||||
|
||||
[Required]
|
||||
public LoanUnitRateUnit DefaultRate { get; set; }
|
||||
|
||||
public long? UnitId { get; set; }//Shadow unit
|
||||
[NotMapped]
|
||||
public string UnitViz { get; set; }
|
||||
|
||||
|
||||
|
||||
public LoanUnit()
|
||||
|
||||
@@ -26,10 +26,16 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public string PartNumber { get; set; }
|
||||
public long? ManufacturerId { get; set; }
|
||||
[NotMapped]
|
||||
public string ManufacturerViz { get; set; }
|
||||
public string ManufacturerNumber { get; set; }
|
||||
public long? WholeSalerId { get; set; }
|
||||
[NotMapped]
|
||||
public string WholeSalerViz { get; set; }
|
||||
public string WholeSalerNumber { get; set; }
|
||||
public long? AlternativeWholeSalerId { get; set; }
|
||||
[NotMapped]
|
||||
public string AlternativeWholeSalerViz { get; set; }
|
||||
public string AlternativeWholeSalerNumber { get; set; }
|
||||
[Required]
|
||||
public decimal Cost { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user