Class CompanySubscription
Company-to-Subscription junction table.
[Table("CompanySubscriptions")]
public class CompanySubscription
- Inheritance
-
CompanySubscription
- Inherited Members
Properties
ActivationTimestampUTC
The unix-timestamp on which this Subscription should be applied and activated for the underlying Company.
public long ActivationTimestampUTC { get; set; }
Property Value
Company
The subscribing Company.
[ForeignKey("CompanyId")]
public Company Company { get; set; }
Property Value
CompanyId
The ID of the subscribing Company.
public long CompanyId { get; set; }
Property Value
CreationTimestampUTC
When this junction-table entry was added.
public long CreationTimestampUTC { get; set; }
Property Value
DeactivatedOnTimestampUTC
The unix-timestamp on which this CompanySubscription was marked as expired.
public long? DeactivatedOnTimestampUTC { get; set; }
Property Value
- long?
Id
Primary key.
[Key]
public long Id { get; set; }
Property Value
IsAutomaticRenewalEnabled
public bool IsAutomaticRenewalEnabled { get; set; }
Property Value
Posts
public ICollection<Post> Posts { get; set; }
Property Value
Subscription
The Subscription that the Company has paid for.
[ForeignKey("SubscriptionSKU")]
public Subscription Subscription { get; set; }
Property Value
SubscriptionSKU
The ID of the Subscription that the Company has paid for.
public string SubscriptionSKU { get; set; }
Property Value
Methods
GetExpirationTimestampUTC()
public long GetExpirationTimestampUTC()