Added fields to maintenances model and config
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using static Step.Model.Constants;
|
||||
|
||||
namespace Step.Model.DatabaseModels
|
||||
{
|
||||
@@ -25,10 +26,22 @@ namespace Step.Model.DatabaseModels
|
||||
[Column("counter_id")]
|
||||
public int CounterId { get; set; }
|
||||
|
||||
[Column("description")]
|
||||
public string Description { get; set; }
|
||||
|
||||
[Column("unit_of_measure")]
|
||||
public MAINTENANCE_UNIT_OF_MEASURE UnitOfMeasure { get; set; }
|
||||
|
||||
[Column("creation_date")]
|
||||
public DateTime CreationDate { get; set; }
|
||||
|
||||
[Column("last_expiration_date")]
|
||||
public DateTime? LastExpirationDate { get; set; }
|
||||
|
||||
[Column("user_id")]
|
||||
public int? UserId { get; set; }
|
||||
|
||||
[ForeignKey("UserId")]
|
||||
public UserModel User { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user