public RangePrice() { this._id = Guid.NewGuid (); this._createtimestamp = SNDK.Date.CurrentDateTimeToTimestamp (); this._updatetimestamp = SNDK.Date.CurrentDateTimeToTimestamp (); this._price = 0; this._hourspanbegin = "00:00"; this._hourspanend = "00:00"; this._weekdays = Enums.Weekday.All; }
public RangePrice() { this._id = Guid.NewGuid (); this._createtimestamp = SNDK.Date.CurrentDateTimeToTimestamp (); this._updatetimestamp = SNDK.Date.CurrentDateTimeToTimestamp (); this._validfrom = System.DateTime.Now; this._validto = System.DateTime.Now.AddYears (1); this._type = qnaxLib.Enums.RangePriceType.Any; this._price = 0; this._hourbegin = "00:00"; this._hourend = "23:59"; this._weekdays = qnaxLib.Enums.Weekday.Monday | qnaxLib.Enums.Weekday.Tuesday | qnaxLib.Enums.Weekday.Wednesday | qnaxLib.Enums.Weekday.Thursday | qnaxLib.Enums.Weekday.Friday | qnaxLib.Enums.Weekday.Saturday | qnaxLib.Enums.Weekday.Sunday; }