Table of Contents

Class Contact

Namespace
GastroSky.Models
Assembly
GastroSky.Models.dll
[Table("Contacts")]
[Index("Slug", new string[] { }, IsUnique = true)]
public class Contact
Inheritance
Contact
Inherited Members

Properties

ArchivalTimestampUTC

If this is not null, the post is archived.

public long? ArchivalTimestampUTC { get; set; }

Property Value

long?

AssignedUser

User who is assigned to this Contact.

[ForeignKey("AssignedUserId")]
public User? AssignedUser { get; set; }

Property Value

User

AssignedUserId

Id of the User who is assigned to this Contact.

public long? AssignedUserId { get; set; }

Property Value

long?

Category

Post category.

public required PostCategory Category { get; set; }

Property Value

PostCategory

Company

public string? Company { get; set; }

Property Value

string

CompanyPosition

public string? CompanyPosition { get; set; }

Property Value

string

ContactCalls

ContactCalls associated with this contact.

public ICollection<ContactCall>? ContactCalls { get; set; }

Property Value

ICollection<ContactCall>

CreationTimestampUTC

Unix-timestamp of when this Contact was inserted into the DB for the first time.

public required long CreationTimestampUTC { get; set; }

Property Value

long

DeletionTimestampUTC

Unix-timestamp of when this Contact was deleted.

public long? DeletionTimestampUTC { get; set; }

Property Value

long?

Email

public string? Email { get; set; }

Property Value

string

HasMultipleObjects

public bool? HasMultipleObjects { get; set; }

Property Value

bool?

Id

Sequential integer primary key.

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

Property Value

long

ItemTypes

ItemType associated with this Post.

public required ItemType[] ItemTypes { get; set; }

Property Value

ItemType[]

Language

public Language Language { get; set; }

Property Value

Language

LastModificationTimestampUTC

Unix-timestamp of when this Contact was last modified.

public long? LastModificationTimestampUTC { get; set; }

Property Value

long?

Name

public required string Name { get; set; }

Property Value

string

Notes

public string? Notes { get; set; }

Property Value

string

ObjectTie

public string? ObjectTie { get; set; }

Property Value

string

Phone

public string? Phone { get; set; }

Property Value

string

SentEmails

public ICollection<SentEmail> SentEmails { get; set; }

Property Value

ICollection<SentEmail>

Slug

Slug string that uniquely identifies the contact.

[MaxLength(8)]
public required string Slug { get; set; }

Property Value

string

Status

public ContactStatus Status { get; set; }

Property Value

ContactStatus

ToContactAgainOnTimestampUTC

public long? ToContactAgainOnTimestampUTC { get; set; }

Property Value

long?

Url

public string? Url { get; set; }

Property Value

string

WhereFrom

public string? WhereFrom { get; set; }

Property Value

string