ISEbd-21_Tukaeva_A_A_School/School/SchoolDatabaseImplements/Models/CircleExpense.cs

22 lines
520 B
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchoolDatabaseImplement.Models
{
public class CircleExpense
{
public int Id { get; set; }
[Required]
public int ExpenseId { get; set; }
[Required]
public int CircleId { get; set; }
public virtual Expense Expense { get; set; } = new();
public virtual Circle Circle { get; set; } = new();
}
}