Show / Hide Table of Contents

Class ModelBase

Inheritance
object
ModelBase
Calendar
Case
CaseChange
CaseChangeSetup
CaseDocument
CaseField
CaseRelation
CaseSetup
CaseValue
Collector
CollectorCustomResult
CollectorResult
Division
Employee
Log
Lookup
LookupValue
Payroll
PayrollLayer
PayrollResult
Payrun
PayrunJob
PayrunJobEmployee
PayrunParameter
PayrunResult
Regulation
RegulationShare
Report
ReportLog
ReportParameter
ReportTemplate
Script
Task
Tenant
User
WageType
WageTypeCustomResult
WageTypeResult
Webhook
WebhookMessage
Implements
IModel
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public abstract class ModelBase : IModel

Constructors

ModelBase()

Declaration
protected ModelBase()

ModelBase(ModelBase)

Declaration
protected ModelBase(ModelBase copySource)
Parameters
Type Name Description
ModelBase copySource

Properties

Created

Declaration
[JsonPropertyOrder(1003)]
public DateTime Created { get; set; }
Property Value
Type Description
DateTime

Id

Declaration
[JsonPropertyOrder(1000)]
public int Id { get; set; }
Property Value
Type Description
int

IsExistingObject

Declaration
[JsonIgnore]
public bool IsExistingObject { get; }
Property Value
Type Description
bool

IsNewObject

Declaration
[JsonIgnore]
public bool IsNewObject { get; }
Property Value
Type Description
bool

Status

Declaration
[JsonPropertyOrder(1002)]
public ObjectStatus Status { get; set; }
Property Value
Type Description
ObjectStatus

UpdateMode

Declaration
[JsonPropertyOrder(1005)]
public UpdateMode UpdateMode { get; set; }
Property Value
Type Description
UpdateMode

Updated

Declaration
[JsonPropertyOrder(1004)]
public DateTime Updated { get; set; }
Property Value
Type Description
DateTime

Methods

GetUiString()

Declaration
public abstract string GetUiString()
Returns
Type Description
string

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

IModel

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX