28 lines
673 B
C#
28 lines
673 B
C#
|
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();
|
|||
|
}
|
|||
|
}
|