23 lines
565 B
C#
23 lines
565 B
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
using System.ComponentModel.DataAnnotations;
|
||
using System.ComponentModel;
|
||
|
||
namespace ComputerShopDatabaseImplement.Models
|
||
{
|
||
public class RequestOrder
|
||
{
|
||
public int Id { get; set; }
|
||
[Required]
|
||
public int RequestId { get; set; }
|
||
[Required]
|
||
public int OrderId { get; set; }
|
||
//!!!МБ ТУТ КАК-ТО ПО-ДРУГОМУ
|
||
public virtual Request Request { get; set; } = new();
|
||
public virtual Order Order { get; set; } = new();
|
||
}
|
||
}
|