public UnitRepair(UnitAccount arg) { UnitAccount = arg; Defect = ""; RepairPlace = ""; SendDate = new DateTime(); ReceivedDate = new DateTime(); Completed = false; LastUpdate = new DateTime(); }
public UnitRepair(int id, UnitAccount account, string defect, string repairPlace, DateTime sendDate, DateTime receivedDate, bool completed, DateTime lastUpdate) { Id = id; UnitAccount = account; Defect = defect; RepairPlace = repairPlace; SendDate = sendDate; ReceivedDate = receivedDate; Completed = completed; LastUpdate = lastUpdate; }