PIbd-23_Elatomtsev_L.K._SUB.../DeviceDatabaseImplement/Models/Ownership.cs
2024-05-20 05:17:39 +04:00

19 lines
528 B
C#

using DeviceDataModels.Models;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using DeviceContracts.BindingModels;
using DeviceContracts.ViewModels;
namespace DeviceDatabaseImplement.Models
{
public class Ownership
{
[Required]
public int KitId { get; set; }
[Required]
public int StaffId { get; set; }
public virtual Kit Kits { get; set; } = new Kit();
public virtual Staff Staff { get; set; } = new Staff();
}
}