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