Table of Contents

Class PostBooster

Namespace
GastroSky.Models
Assembly
GastroSky.Models.dll
[Table("PostBoosters")]
public class PostBooster
Inheritance
PostBooster
Inherited Members

Properties

ActivationTimestampUTC

The unix-timestamp on which this Booster should be applied and activated for the underlying Post.

public long ActivationTimestampUTC { get; set; }

Property Value

long

Booster

Booster that is being applied to the Post.

[ForeignKey("BoosterSKU")]
public Booster Booster { get; set; }

Property Value

Booster

BoosterSKU

ID of the Booster that is being applied to the Post.

public string BoosterSKU { get; set; }

Property Value

string

CreationTimestampUTC

When this junction-table entry was added.

public long CreationTimestampUTC { get; set; }

Property Value

long

DeactivatedOnTimestampUTC

The unix-timestamp on which this PostBooster was marked as expired.

public long? DeactivatedOnTimestampUTC { get; set; }

Property Value

long?

Id

Primary key.

[Key]
public long Id { get; set; }

Property Value

long

Post

Post to which the Booster should be applied.

[ForeignKey("PostId")]
public Post Post { get; set; }

Property Value

Post

PostId

ID of the Post to which the Booster is to be applied.

public long PostId { get; set; }

Property Value

long

Methods

GetExpirationTimestampUTC()

public long GetExpirationTimestampUTC()

Returns

long