示例#1
0
 private SubscriptionItem()
 {
     this._id = Guid.Empty;
     this._createtimestamp = 0;
     this._updatetimestamp = 0;
     this._subscriptionid = Guid.Empty;
     this._erpid = string.Empty;
     this._recurrencetype = AllectusLib.Enums.ItemRecurrenceType.Monthly;
     this._recurrencecount = 0;
     this._text = string.Empty;
     this._unit = string.Empty;
     this._price = 0;
     this._notes = string.Empty;
 }
示例#2
0
 public SubscriptionItem(Subscription Subscription)
 {
     this._id = Guid.NewGuid ();
     this._createtimestamp = SNDK.Date.CurrentDateTimeToTimestamp ();
     this._updatetimestamp = SNDK.Date.CurrentDateTimeToTimestamp ();
     this._subscriptionid = Subscription.Id;
     this._erpid = string.Empty;
     this._recurrencetype = AllectusLib.Enums.ItemRecurrenceType.Monthly;
     this._recurrencecount = 0;
     this._text = string.Empty;
     this._unit = string.Empty;
     this._price = 0;
     this._notes = string.Empty;
 }