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