FollowerUserRelationDao
Namespace: SlottyMedia.Database.Daos
This class represents the Follower_User_Relation table in the database.
public class FollowerUserRelationDao : Supabase.Postgrest.Models.BaseModel
Inheritance Object → BaseModel → FollowerUserRelationDao
Properties
FollowerUserRelationId
The ID of the Follower_User_Relation. This is the Primary Key. It is auto-generated.
public Nullable<Guid> FollowerUserRelationId { get; set; }
Property Value
FollowerUser
The User who is following another User. This is a Reference to the User Table.
public UserDao FollowerUser { get; set; }
Property Value
FollowerUserId
The ID of the User who is following another User. This is a Foreign Key to the User Table.
public Nullable<Guid> FollowerUserId { get; set; }
Property Value
FollowedUserId
The ID of the User who is being followed. This is a Foreign Key to the User Table.
public Nullable<Guid> FollowedUserId { get; set; }
Property Value
CreatedAt
The Date and Time the Follower_User_Relation was created.
public DateTimeOffset CreatedAt { get; }
Property Value
BaseUrl
public string BaseUrl { get; set; }
Property Value
RequestClientOptions
public ClientOptions RequestClientOptions { get; set; }
Property Value
ClientOptions
TableName
public string TableName { get; }
Property Value
PrimaryKey
public Dictionary<PrimaryKeyAttribute, object> PrimaryKey { get; }
Property Value
Dictionary<PrimaryKeyAttribute, Object>
Constructors
FollowerUserRelationDao()
Default constructor.
public FollowerUserRelationDao()
FollowerUserRelationDao(Guid, Guid)
Constructor to create a new FollowerUserRelation.
public FollowerUserRelationDao(Guid followerUserId, Guid followedUserId)
Parameters
followerUserId Guid
The ID of the User who is following another User.
followedUserId Guid
The ID of the User who is being followed.
Methods
ToString()
The ToString method returns a string representation of the FollowerUserRelationDao object.
public string ToString()