Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Added Actors table.
Browse files Browse the repository at this point in the history
  • Loading branch information
Utar94 committed Apr 26, 2024
1 parent e779f3e commit 5243456
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions backend/src/Logitar.Master.EntityFrameworkCore/MasterDb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ namespace Logitar.Master.EntityFrameworkCore;

internal static class MasterDb
{
public static class Actors
{
public static readonly TableId Table = new(nameof(MasterContext.Actors));

public static readonly ColumnId ActorId = new(nameof(ActorEntity.ActorId), Table);
public static readonly ColumnId DisplayName = new(nameof(ActorEntity.DisplayName), Table);
public static readonly ColumnId EmailAddress = new(nameof(ActorEntity.EmailAddress), Table);
public static readonly ColumnId Id = new(nameof(ActorEntity.Id), Table);
public static readonly ColumnId IsDeleted = new(nameof(ActorEntity.IsDeleted), Table);
public static readonly ColumnId PictureUrl = new(nameof(ActorEntity.PictureUrl), Table);
public static readonly ColumnId Type = new(nameof(ActorEntity.Type), Table);
}

public static class Projects
{
public static readonly TableId Table = new(nameof(MasterContext.Projects));
Expand Down

0 comments on commit 5243456

Please sign in to comment.