Supplier.cs 1.79 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 供应商表
	/// </summary>
    [Table("supplier")]
    public partial class Supplier : SysEntity
    {
        public Supplier()
        {
        }

        /// <summary>
	    /// 编码
	    /// </summary>
        [Column("code")]
        public string Code { get; set; }
        /// <summary>
	    /// 名称
	    /// </summary>
        [Column("name")]
        public string Name { get; set; }
        /// <summary>
	    /// 地址1
	    /// </summary>
        [Column("address")]
        public string Address { get; set; }
        /// <summary>
	    /// 城市
	    /// </summary>
        [Column("city")]
        public string City { get; set; }
        /// <summary>
	    /// 省份
	    /// </summary>
        [Column("province")]
        public string Province { get; set; }
        /// <summary>
	    /// 国家
	    /// </summary>
        [Column("country")]
        public string Country { get; set; }
        /// <summary>
	    /// 邮编
	    /// </summary>
        [Column("postalCode")]
        public string PostalCode { get; set; }
        /// <summary>
	    /// 联系人
	    /// </summary>
        [Column("attentionTo")]
        public string AttentionTo { get; set; }
        /// <summary>
	    /// 电话
	    /// </summary>
        [Column("phoneNum")]
        public string PhoneNum { get; set; }
        /// <summary>
	    /// 手机
	    /// </summary>
        [Column("mobile")]
        public string Mobile { get; set; }
        /// <summary>
	    /// 传真
	    /// </summary>
        [Column("faxNum")]
        public string FaxNum { get; set; }
        /// <summary>
	    /// E-mail
	    /// </summary>
        [Column("email")]
        public string Email { get; set; }
    }
}