Class PostPremiumUpgrade
Junction-table for premium upgrades.
[Table("PostPremiumUpgrades")]
public class PostPremiumUpgrade
- Inheritance
-
PostPremiumUpgrade
- Inherited Members
Properties
ActivationTimestampUTC
The unix-timestamp on which this PostPremiumUpgrade should be applied and activated for the underlying Post.
public long ActivationTimestampUTC { 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 PostPremiumUpgrade was marked as expired for the underlying Post.
public long? DeactivatedOnTimestampUTC { get; set; }
Property Value
- long?
Id
DB primary key.
[Key]
public long Id { get; set; }
Property Value
Post
Post with which this PremiumUpgrade is associated.
[ForeignKey("PostId")]
public Post Post { get; set; }
Property Value
PostId
Id of the Post with which this PremiumUpgrade is associated.
public long PostId { get; set; }
Property Value
PremiumUpgrade
The type of premium post upgrade to activate for the Post.
[ForeignKey("PremiumUpgradeSKU")]
public PremiumUpgrade PremiumUpgrade { get; set; }
Property Value
- See Also
PremiumUpgradeSKU
The SKU of type of premium upgrade to activate for the Post.
public string PremiumUpgradeSKU { get; set; }
Property Value
- See Also
Methods
GetExpirationTimestampUTC()
public long GetExpirationTimestampUTC()