Class ReportTemplate
The payroll report template client object
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class ReportTemplate : ModelBase, IReportTemplate, IModel, IAttributeObject, IEquatable<IReportTemplate>
Constructors
ReportTemplate()
Initializes a new instance of the ReportTemplate class
Declaration
public ReportTemplate()
ReportTemplate(ReportTemplate)
Initializes a new instance of the ReportTemplate class
Declaration
public ReportTemplate(ReportTemplate copySource)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportTemplate | copySource | The copy source. |
Properties
Attributes
Declaration
[JsonPropertyOrder(109)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> |
Content
The report content (client owned)
Declaration
[JsonPropertyOrder(102)]
public string Content { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContentFile
The report content file name (client only)
Declaration
[JsonPropertyOrder(103)]
public string ContentFile { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContentType
The report content type
Declaration
[StringLength(128)]
[JsonPropertyOrder(104)]
public string ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Culture
The report culture
Declaration
[Required]
[JsonPropertyOrder(101)]
public string Culture { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
The payroll report template name
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OverrideType
The override type
Declaration
[JsonPropertyOrder(108)]
public OverrideType OverrideType { get; set; }
Property Value
| Type | Description |
|---|---|
| OverrideType |
Resource
The report external resource
Declaration
[StringLength(256)]
[JsonPropertyOrder(107)]
public string Resource { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Schema
The report schema (client owned)
Declaration
[JsonPropertyOrder(105)]
public string Schema { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SchemaFile
The report schema file name (client only)
Declaration
[JsonPropertyOrder(106)]
public string SchemaFile { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Equals(IReportTemplate)
Declaration
public virtual bool Equals(IReportTemplate compare)
Parameters
| Type | Name | Description |
|---|---|---|
| IReportTemplate | compare |
Returns
| Type | Description |
|---|---|
| bool |
GetUiString()
The object UI string
Declaration
public override string GetUiString()
Returns
| Type | Description |
|---|---|
| string |