Case_accounting/CaseAccounting/CaseAccountingDataBaseImplement/Models/DealContract.cs

23 lines
541 B
C#
Raw Normal View History

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 DealContract
{
public int Id { get; set; }
[Required]
public int DealId { get; set; }
public virtual Deal Deal { get; set; } = new();
[Required]
public int ContractId { get; set; }
public virtual Contract Contract { get; set; } = new();
}
}