Class DVIRDefect
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class DVIRDefect : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
DVIRDefect
- Implements
- Inherited Members
Constructors
DVIRDefect()
Initializes a new instance of the DVIRDefect class.Initializes a new instance of the DVIRDefect class.
public DVIRDefect()
DVIRDefect(Id)
Initializes a new instance of the DVIRDefect class.Initializes a new instance of the DVIRDefect class.
public DVIRDefect(Id id)
Parameters
DVIRDefect(Id?, Defect?, IList<DefectRemark>?, DateTime?, User?, RepairStatusType)
Initializes a new instance of the DVIRDefect class.
public DVIRDefect(Id? id, Defect? defect, IList<DefectRemark>? defectRemarks, DateTime? repairDateTime = null, User? repairUser = null, RepairStatusType repairStatus = RepairStatusType.NotRepaired)
Parameters
id
IdThe unique Id of the log.
defect
DefectThe Defect which this DVIRDefect belongs to.
defectRemarks
IList<DefectRemark>A list of DefectRemark which this DVIRDefect has.
repairDateTime
DateTime?The DateTime the DVIRDefect was repaired.
repairUser
UserThe User the user who repaired the DVIRDefect
repairStatus
RepairStatusTypeThe RepairStatusType the repairStatus for the DVIRDefect
Properties
Defect
Gets or sets the Defect which this DVIRDefect belongs to.
public Defect? Defect { get; set; }
Property Value
DefectRemarks
Gets or sets the DefectRemarks which this DVIRDefect has.
public IList<DefectRemark>? DefectRemarks { get; set; }
Property Value
RepairDateTime
Gets or sets the date and time the DVIRDefect was repaired.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DVIRDefectRepairDateTime })]
public DateTime? RepairDateTime { get; set; }
Property Value
RepairStatus
Gets or sets the RepairStatusType of this DVIRDefect.
public RepairStatusType? RepairStatus { get; set; }
Property Value
RepairUser
Gets or sets the User who repaired the DVIRDefect.
public User? RepairUser { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
DVIRDefect A new object that is a copy of this instance.