22 lines
538 B
C#
22 lines
538 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SchoolAgainStudyDataBaseImplements.Models
|
|
{
|
|
public class DiyInterest
|
|
{
|
|
public int Id { get; set; }
|
|
[Required]
|
|
public int DiyId { get; set; }
|
|
[Required]
|
|
public int InterestId { get; set; }
|
|
public virtual Diy Diy { get; set; } = new();
|
|
public virtual Interest Interest { get; set; } = new();
|
|
|
|
}
|
|
}
|