Class CompanyGroup
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
This is a system group see Group with an Id of GroupCompanyId and is the root group of the organization structure. The entire sub tree of this group is user defined.
public class CompanyGroup : SystemGroupBase, IEntity, IComparable, IIdentifiable, IDefaultable
- Inheritance
-
CompanyGroup
- Implements
- Inherited Members
Constructors
CompanyGroup(Id)
Initializes a new instance of the CompanyGroup class.
public CompanyGroup(Id id)
Parameters
id
IdThe Group Id.
CompanyGroup(string?, string?, List<Group>?, Group?, string?, string?)
Initializes a new instance of the CompanyGroup class.Initializes a new instance of the CompanyGroup class.
public CompanyGroup(string? comments = null, string? reference = null, List<Group>? children = null, Group? parent = null, string? path = null, string? name = null)
Parameters
comments
stringThe comments.
reference
stringThe reference.
children
List<Group>The children.
parent
GroupThe groups parent.
path
stringLtree path of the group
name
stringName of the group
Properties
Id
Gets the unique identifier for this entity. see Id.
public override Id Id { get; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.