demo20230512/Models/Supplier.cs

27 lines
786 B
C#
Raw Permalink Normal View History

2023-05-12 10:20:28 +08:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Weee.Models
{
//系統廠維護之供應商列表
public class Supplier
{
public int ID { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public string VendorCode { get; set; }
public string Phone { get; set; }
public string ContactName { get; set; }
public string ContactPhone { get; set; }
public string ContactEmail { get; set; }
public string Description { get; set; }
public int CompanyID { get; set; }
[ForeignKey("CompanyID")]
public virtual NormalCompany Company { get; set; }
}
}