Class Employee
The employee client object
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class Employee : ModelBase, IEmployee, IModel, IAttributeObject, IKeyEquatable<IEmployee>, IEquatable<IEmployee>, IIdentifierObject
Constructors
Employee()
Initializes a new instance
Declaration
Employee(Employee)
Initializes a new instance from a copy
Declaration
public Employee(Employee copySource)
Parameters
| Type |
Name |
Description |
| Employee |
copySource |
The copy source
|
Properties
Attributes
Declaration
[JsonPropertyOrder(106)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
Calendar
The employee calendar (fallback: division calendar)
Declaration
[StringLength(128)]
[JsonPropertyOrder(105)]
public string Calendar { get; set; }
Property Value
Culture
The employee culture name based on RFC 4646 (fallback: division culture)
Declaration
[StringLength(128)]
[JsonPropertyOrder(104)]
public string Culture { get; set; }
Property Value
Divisions
Declaration
[JsonPropertyOrder(103)]
public List<string> Divisions { get; set; }
Property Value
FirstName
The first name of the employee
Declaration
[StringLength(128)]
[JsonPropertyOrder(101)]
public string FirstName { get; set; }
Property Value
Identifier
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Identifier { get; set; }
Property Value
LastName
The last name of the employee
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(102)]
public string LastName { get; set; }
Property Value
Methods
EqualKey(IEmployee)
Test for the same item key
Declaration
public virtual bool EqualKey(IEmployee compare)
Parameters
Returns
Equals(IEmployee)
Declaration
public virtual bool Equals(IEmployee compare)
Parameters
Returns
GetUiString()
Declaration
public override string GetUiString()
Returns
Overrides
Implements
Extension Methods