28 lines
673 B
C#
Raw Normal View History

2024-05-13 14:29:34 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TaskTrackerDatabase.Models
{
public class OrganizationProject
{
public int Id { get; set; }
[Required]
public int OrganizationId { get; set; }
[Required]
public int ProjectId { get; set; }
[Required]
public int NumberEmployees { get; set; }
[Required]
public virtual Organization Organization { get; set; } = new();
public virtual Project Project { get; set; } = new();
}
}