Class AnnotationLog
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
An AnnotationLog is a comment that can be associated with a DutyStatusLog. The Driver is the author of the AnnotationLog.
public class AnnotationLog : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion, IHosLog, IDateTimeProvider
- Inheritance
-
AnnotationLog
- Implements
- Inherited Members
Constructors
AnnotationLog()
Initializes a new instance of the AnnotationLog class.Initializes a new instance of the AnnotationLog class.
public AnnotationLog()
AnnotationLog(Id?)
Initializes a new instance of the AnnotationLog class.Initializes a new instance of the AnnotationLog class.
public AnnotationLog(Id? id)
Parameters
AnnotationLog(Id?, DateTime?, User?, string?, DutyStatusLog?, long?)
Initializes a new instance of the AnnotationLog class.Initializes a new instance of the AnnotationLog class.
public AnnotationLog(Id? id, DateTime? dateTime, User? driver, string? comment, DutyStatusLog? dutyStatusLog, long? version)
Parameters
id
IdThe unique Id of the log.
dateTime
DateTime?The DateTime the log was created.
driver
UserThe User who created this log.
comment
stringThe annotation text.
dutyStatusLog
DutyStatusLogThe DutyStatusLog which this log belongs to.
version
long?The version of the entity.
Properties
Comment
Gets or sets the annotation text associated with the log.
public string? Comment { get; set; }
Property Value
DateTime
Gets or sets the date and time the log was created.
public DateTime? DateTime { get; set; }
Property Value
Driver
Gets or sets the User who created the log.
public User? Driver { get; set; }
Property Value
DutyStatusLog
Gets or sets the DutyStatusLog which this log belongs to.
public DutyStatusLog? DutyStatusLog { get; set; }
Property Value
Remarks
There is no search for this parameter. Need to reconsider, so keeping isSupported false.
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
AnnotationLog A new object that is a copy of this instance.
ToString()
Returns a string that represents this instance.
public override string ToString()