feat(dal): Добавлена таблица WorkGroups и AppInWorkGroups

This commit is contained in:
Mikhail Kuznetsov
2024-06-03 15:17:14 +10:00
parent faab4a6664
commit 90948108c1
11 changed files with 2985 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
namespace PARR.DAL.Models
{
[Table("AppInWorkInWorkGroups")]
[PrimaryKey(nameof(ApplicationsInWorkId), nameof(WorkGroupId))]
public class AppInWorkInWorkGroup
{
public Guid ApplicationsInWorkId { get; set; }
public Guid WorkGroupId { get; set; }
public ApplicationsInWork? ApplicationsInWork { get; set; }
public WorkGroup? WorkGroup { get; set; }
}
}