Table of Contents

Class DVIRDefect

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

true A DVIRDefect is a Defect that can be associated with a DVIRLog. It contains repair information such as repair DateTime, repair , and . DVIRDefect also consists a list of which can be used to store additional information for the defect.

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

id Id

Id

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 Id

The unique Id of the log.

defect Defect

The 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 User

The User the user who repaired the DVIRDefect

repairStatus RepairStatusType

The 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

Defect

Defect

DefectRemarks

Gets or sets the DefectRemarks which this DVIRDefect has.

public IList<DefectRemark>? DefectRemarks { get; set; }

Property Value

IList<DefectRemark>

List<T>

RepairDateTime

Gets or sets the date and time the DVIRDefect was repaired.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DVIRDefectRepairDateTime })]
public DateTime? RepairDateTime { get; set; }

Property Value

DateTime?

DateTime

RepairStatus

Gets or sets the RepairStatusType of this DVIRDefect.

public RepairStatusType? RepairStatus { get; set; }

Property Value

RepairStatusType?

RepairStatusType

RepairUser

Gets or sets the User who repaired the DVIRDefect.

public User? RepairUser { get; set; }

Property Value

User

User

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.