Table of Contents

Class User

Namespace
RetailForce.Fiscalisation.Model
Assembly
RetailForce.Fiscalisation.Model.dll

The user for a document.

[Serializable]
public class User : IEquatable<User>
Inheritance
User
Implements
Inherited Members

Constructors

User()

Constructor.

public User()

User(string, string, string, string, DateTimeOffset?)

Constructor.

public User(string id, string caption, string firstName = null, string lastName = null, DateTimeOffset? dateOfEntry = null)

Parameters

id string

The id of the user.

caption string

The caption / name of the user.

firstName string

The first name of the user.

lastName string

The last name of the user.

dateOfEntry DateTimeOffset?

The date of the entry of the user.

Properties

Caption

The caption / name of the user.

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Caption { get; set; }

Property Value

string

DateOfEntry

The entry date for the user in the master data table.

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public DateTimeOffset? DateOfEntry { get; set; }

Property Value

DateTimeOffset?

FirstName

The first name of the user.

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string FirstName { get; set; }

Property Value

string

Id

The id of the user.

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Id { get; set; }

Property Value

string

LastName

The last name of the user.

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string LastName { get; set; }

Property Value

string

TaxNumber

The personal tax number of the operator.

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string TaxNumber { get; set; }

Property Value

string

Methods

Equals(User)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(User other)

Parameters

other User

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.