Interface IModel
Base for all Payroll models
Namespace: PayrollEngine.Client
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface IModel
Properties
Created
The date which the client object was created (immutable)
Declaration
DateTime Created { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Id
The unique object id (immutable)
Declaration
int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IsExistingObject
Test for existing object (opposite of IsNewObject)
Declaration
bool IsExistingObject { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsNewObject
Test for new object (opposite of IsExistingObject)
Declaration
bool IsNewObject { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Status
The status of the object
Declaration
ObjectStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| ObjectStatus |
UpdateMode
The object update mode
Declaration
UpdateMode UpdateMode { get; set; }
Property Value
| Type | Description |
|---|---|
| UpdateMode |
Updated
The date which the client object was last updated (immutable)
Declaration
DateTime Updated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Methods
GetUiString()
The object UI string
Declaration
string GetUiString()
Returns
| Type | Description |
|---|---|
| string |