Class WorkTimeSystem
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A work time that is a system supplied work time.
public abstract class WorkTimeSystem : WorkTime, IEntity, IComparable, IIdentifiable, IDefaultable
- Inheritance
-
WorkTimeSystem
- Implements
- Derived
- Inherited Members
Constructors
WorkTimeSystem(Id?, string?, string?, WorkTimeHolidayGroupId?, List<WorkTimeDetail>?)
Initializes a new instance of the WorkTimeSystem class.
protected WorkTimeSystem(Id? id, string? name, string? comment, WorkTimeHolidayGroupId? workTimeHolidayGroupId, List<WorkTimeDetail>? workTimeDetails)
Parameters
id
IdThe id.
name
stringThe name.
comment
stringThe comment.
workTimeHolidayGroupId
WorkTimeHolidayGroupIdworkTimeDetails
List<WorkTimeDetail>The list of WorkTimeDetail(s).
WorkTimeSystem(WorkTime)
Initializes a new instance of the WorkTimeSystem class.
protected WorkTimeSystem(WorkTime workTime)
Parameters
Properties
Comment
Gets or sets free text field where any user information can be stored and referenced for this entity.
public override string? Comment { get; set; }
Property Value
Exceptions
- NotSupportedException
Not supported.
HolidayGroup
Gets or sets the WorkTimeHolidayGroupId.
public override WorkTimeHolidayGroupId? HolidayGroup { get; set; }
Property Value
Exceptions
- NotSupportedException
Not supported.
Id
Gets or sets the unique identifier for this entity. see Id.
public override Id? Id { get; set; }
Property Value
Name
Gets or sets the name of this entity which identifies it and is used when displaying this entity.
public override string? Name { get; set; }
Property Value
- string
The name of this entity that uniquely identifies it and is used when displaying this entity.
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
Returns
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
public override int GetHashCode()
Returns
IsSystemEntity()
Returns true if the class is a system entity, false otherwise.
public override bool IsSystemEntity()