Table of Contents

Class DefectRemark

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

true An DefectRemark is a remark that can be associated with a DVIRDefect.

public class DefectRemark : Entity, IEntity, IComparable, IIdentifiable, IMediaFiles
Inheritance
DefectRemark
Implements
Inherited Members

Constructors

DefectRemark()

Initializes a new instance of the DefectRemark class.Initializes a new instance of the DefectRemark class.

public DefectRemark()

DefectRemark(Id)

Initializes a new instance of the DefectRemark class.Initializes a new instance of the DefectRemark class.

public DefectRemark(Id id)

Parameters

id Id

Id

DefectRemark(Id?, DVIRDefect?, string?, User?, DateTime?, IList<MediaFile>?)

Initializes a new instance of the DefectRemark class.Initializes a new instance of the DefectRemark class.

public DefectRemark(Id? id, DVIRDefect? dvirDefect, string? remark, User? user, DateTime? dateTime, IList<MediaFile>? mediaFiles)

Parameters

id Id

The unique Id of the remark.

dvirDefect DVIRDefect

The DVIRDefect which this remark belongs to.

remark string

The remark text for the DVIRDefect.

user User

The User who created this remark.

dateTime DateTime?

The DateTime the remark was created.

mediaFiles IList<MediaFile>

List of mediaFiles MediaFile uploaded for a remark.

Properties

DVIRDefect

Gets or sets the DVIRDefect which this DefectRemark belongs to.

public DVIRDefect? DVIRDefect { get; set; }

Property Value

DVIRDefect

DVIRDefect

Remarks

There is no search for this parameter. Need to reconsider, so keeping isSupported false.

DateTime

Gets or sets the date and time the log was created.

public DateTime? DateTime { get; set; }

Property Value

DateTime?

DateTime

MediaFiles

Gets or sets the list of MediaFile(s) for a defect remark.

public IList<MediaFile>? MediaFiles { get; set; }

Property Value

IList<MediaFile>

IList<T>

Remark

Gets or sets the DVIR text associated with the log.

public string? Remark { get; set; }

Property Value

string

string

User

Gets or sets the User who created the log.

public User? User { 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

DefectRemark A new object that is a copy of this instance.