TourIAm/TIAMWebApp/Shared/Models/Supplier.cs

38 lines
1.3 KiB
C#

namespace TIAMWebApp.Shared.Application.Models
{
public class Supplier
{
public int SupplierId { get; set; }
public string CompanyName { get; set; }
public string ContactName { get; set; }
public string ContactTitle { get; set; }
public string Address { get; set; }
public string City { get; set; }
public string Region { get; set; }
public string PostalCode { get; set; }
public string Country { get; set; }
public string Phone { get; set; }
public string Fax { get; set; }
public string HomePage { get; set; }
public virtual ICollection<ProductDTO>? Products { get; set; }
//constructor here
public Supplier(int supplierId, string companyName, string contactName, string contactTitle, string address, string city, string region, string postalCode, string country, string phone, string fax, string homePage)
{
SupplierId = supplierId;
CompanyName = companyName;
ContactName = contactName;
ContactTitle = contactTitle;
Address = address;
City = city;
Region = region;
PostalCode = postalCode;
Country = country;
Phone = phone;
Fax = fax;
HomePage = homePage;
}
}
}