compose_sample/TestApplication/Context/Product1.cs

32 lines
880 B
C#

using System;
using System.Collections.Generic;
namespace TestApplication.Context;
public partial class Product1
{
public int Id { get; set; }
public string Title { get; set; } = null!;
public decimal Cost { get; set; }
public string? Description { get; set; }
public string? MainImagePath { get; set; }
public bool IsActive { get; set; }
public int? ManufacturerId { get; set; }
public virtual Manufacturer1? Manufacturer { get; set; }
public virtual ICollection<ProductPhoto1> ProductPhoto1s { get; set; } = new List<ProductPhoto1>();
public virtual ICollection<ProductSale1> ProductSale1s { get; set; } = new List<ProductSale1>();
public virtual ICollection<Product1> AttachedProducts { get; set; } = new List<Product1>();
public virtual ICollection<Product1> MainProducts { get; set; } = new List<Product1>();
}