Class DefectRemark
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
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
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
IdThe unique Id of the remark.
dvirDefect
DVIRDefectThe DVIRDefect which this remark belongs to.
remark
stringThe remark text for the DVIRDefect.
user
UserThe 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
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
MediaFiles
Gets or sets the list of MediaFile(s) for a defect remark.
public IList<MediaFile>? MediaFiles { get; set; }
Property Value
Remark
Gets or sets the DVIR text associated with the log.
public string? Remark { get; set; }
Property Value
User
Gets or sets the User who created the log.
public User? User { get; set; }
Property Value
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.