2024-06-22 15:10:46 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DatabaseImplement.Models
|
|
|
|
|
{
|
|
|
|
|
public class SupplierProduct
|
|
|
|
|
{
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
[Required]
|
|
|
|
|
public Guid SupplierId { get; set; }
|
|
|
|
|
[Required]
|
|
|
|
|
public Guid ProductId { get; set; }
|
|
|
|
|
[Required]
|
|
|
|
|
public int Count { get; set; }
|
|
|
|
|
public virtual Supplier Supplier { get; set; } = new();
|
|
|
|
|
public virtual Product Product { get; set; } = new();
|
|
|
|
|
}
|
2024-07-26 02:46:29 +04:00
|
|
|
|
}
|