Table of Contents

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

id Id

Id

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 Id

The unique Id of the log.

dateTime DateTime?

The DateTime the log was created.

driver User

The User who created this log.

comment string

The annotation text.

dutyStatusLog DutyStatusLog

The 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

string

string

DateTime

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

public DateTime? DateTime { get; set; }

Property Value

DateTime?

DateTime

Driver

Gets or sets the User who created the log.

public User? Driver { get; set; }

Property Value

User

User

DutyStatusLog

Gets or sets the DutyStatusLog which this log belongs to.

public DutyStatusLog? DutyStatusLog { get; set; }

Property Value

DutyStatusLog

DutyStatusLog

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()

Returns

string

A string that represents this instance.