23 lines
524 B
C#
23 lines
524 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CaseAccountingDataBaseImplement.Models
|
|
{
|
|
public class CaseDeal
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
public int CaseId { get; set; }
|
|
public virtual Case Case { get; set; } = new();
|
|
|
|
[Required]
|
|
public int DealId { get; set; }
|
|
public virtual Deal Deal { get; set; } = new();
|
|
}
|
|
}
|