Table of Contents

Class UserCompany

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

Properties

Company

[ForeignKey("CompanyId")]
public Company Company { get; set; }

Property Value

Company

CompanyId

public long CompanyId { get; set; }

Property Value

long

CompanyRole

public CompanyRole CompanyRole { get; set; }

Property Value

CompanyRole

CreationTimestampUTC

When this junction-table entry was added.

public long CreationTimestampUTC { get; set; }

Property Value

long

DeactivatedOnTimestampUTC

The unix-timestamp on which this UserCompany was deactivated.

public long? DeactivatedOnTimestampUTC { get; set; }

Property Value

long?

Id

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

Property Value

long

User

[ForeignKey("UserId")]
public User User { get; set; }

Property Value

User

UserId

public long UserId { get; set; }

Property Value

long

UserJoinedOnTimestampUTC

When the user accepted the invitation to the company.

public long? UserJoinedOnTimestampUTC { get; set; }

Property Value

long?