/// <summary> /// Initializes a new instance of the <see cref="User" /> class. /// Constructor with arguments. /// </summary> /// <param name="inPersonData">User's person data.</param> /// <param name="inPriceUAH">Price in UAH.</param> /// <param name="inPriceUSD">Price in USD.</param> /// <param name="inStatus">User's status.</param> public User(Person inPersonData, int inPriceUAH, int inPriceUSD, UserStatus inStatus) { this.personData = inPersonData; this.priceUAH = inPriceUAH; this.priceUSD = inPriceUSD; this.status = inStatus; }
/// <summary> /// Initializes a new instance of the <see cref="User" /> class. /// Default constructor. /// </summary> public User() { this.personData = new Person(); this.priceUAH = 0; this.priceUSD = 0; this.status = UserStatus.NotLogged; }
public Staff(Person inPersonData, StaffStatus inStatus) { this.personData = inPersonData; this.status = inStatus; }
public Staff() { this.personData = new Person(); this.status = StaffStatus.NotSetted; }