27 lines
786 B
C#
27 lines
786 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|