Class CaseChange
Payroll case value change client object
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class CaseChange : ModelBase, ICaseChange, IModel, IEquatable<ICaseChange>
Constructors
CaseChange()
Initializes a new instance
Declaration
public CaseChange()
CaseChange(CaseChange)
Initializes a new instance from a copy
Declaration
public CaseChange(CaseChange copySource)
Parameters
| Type | Name | Description |
|---|---|---|
| CaseChange | copySource | The copy source |
Properties
CancellationDate
The cancellation date (immutable)
Declaration
[JsonPropertyOrder(109)]
public DateTime? CancellationDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
CancellationId
The cancellation case id (immutable)
Declaration
[JsonPropertyOrder(108)]
public int? CancellationId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
CancellationType
The cancellation type
Declaration
[JsonPropertyOrder(107)]
public CaseCancellationType CancellationType { get; set; }
Property Value
| Type | Description |
|---|---|
| CaseCancellationType |
DivisionId
The division id (immutable) If present, this values overrides all case value divisions DivisionId
Declaration
[JsonPropertyOrder(105)]
public int? DivisionId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
DivisionName
The division name (client only)
Declaration
[JsonPropertyOrder(106)]
public string DivisionName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EmployeeId
The employee id, mandatory for employee case changes (immutable)
Declaration
[JsonPropertyOrder(104)]
public int? EmployeeId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Forecast
The forecast name
Declaration
[JsonPropertyOrder(112)]
public string Forecast { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IgnoredValues
The ignored case values
Declaration
[JsonPropertyOrder(114)]
public List<CaseValue> IgnoredValues { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CaseValue> |
Issues
The case validation issues
Declaration
[JsonPropertyOrder(115)]
public List<CaseValidationIssue> Issues { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CaseValidationIssue> |
PayrollId
The payroll id
Declaration
[JsonPropertyOrder(102)]
public int PayrollId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PayrollName
The payroll name
Declaration
[JsonPropertyOrder(103)]
public string PayrollName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Reason
The change reason
Declaration
[JsonPropertyOrder(110)]
public string Reason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserId
The change user id
Declaration
[JsonPropertyOrder(100)]
public int UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UserIdentifier
The change user unique identifier (client only)
Declaration
[JsonPropertyOrder(101)]
public string UserIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValidationCaseName
The validation case name
Declaration
[JsonPropertyOrder(111)]
public string ValidationCaseName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Values
The case values
Declaration
[JsonPropertyOrder(113)]
public List<CaseValue> Values { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CaseValue> |
Methods
Equals(ICaseChange)
Declaration
public virtual bool Equals(ICaseChange compare)
Parameters
| Type | Name | Description |
|---|---|---|
| ICaseChange | compare |
Returns
| Type | Description |
|---|---|
| bool |
GetUiString()
The object UI string
Declaration
public override string GetUiString()
Returns
| Type | Description |
|---|---|
| string |