Table of Contents

Class InterestedUser

Namespace
GastroSky.Models
Assembly
GastroSky.Models.dll

Interested users

[Table("InterestedUsers")]
public class InterestedUser
Inheritance
InterestedUser
Inherited Members

Properties

CreationTimestampUTC

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

public required long CreationTimestampUTC { get; set; }

Property Value

long

Email

Email address.

public string Email { get; set; }

Property Value

string

Id

Sequential integer primary key.

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

Property Value

long

IsAProfessional

Whether the user is a professional or real estate agent.

public bool IsAProfessional { get; set; }

Property Value

bool

Language

public required Language Language { get; set; }

Property Value

Language

LookingForGastroSolution

Whether the user is looking for a gastronomy solution.

public bool LookingForGastroSolution { get; set; }

Property Value

bool

Name

User name (ideally this is going to be first + last name, whitespace-separated).

public string? Name { get; set; }

Property Value

string

Phone

Phone number.

public string? Phone { get; set; }

Property Value

string

Slug

String between 4 and 8 characters that uniquely identifies this InterestedUser.

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

Property Value

string

WantsToPublish

Whether the user is interested in publishing a post.

public bool WantsToPublish { get; set; }

Property Value

bool