//------------------------------------------------------------------------------
// <auto-generated>
//     此代码已从模板生成。
//
//     手动更改此文件可能导致应用程序出现意外的行为。
//     如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------

namespace CK.SCP.Models.AppBoxEntity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using CK.SCP.Models.ScpEntity;

    public partial class TA_FACTORY:RecordEntity,IKeyID
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

       
        [StringLength(50)]
        public string FactoryId { get; set; }
        [StringLength(50)]
        public string FactoryName { get; set; }
        [StringLength(50)]
        public string ErpSite { get; set; }
        [StringLength(50)]
        public string ErpDomain { get; set; }
        [StringLength(50)]
        public string Address { get; set; }
        [StringLength(50)]
        public string ZipCode { get; set; }
        public int State { get; set; }
        [StringLength(50)]
        public string Remark { get; set; }
        [StringLength(50)]
        public string Tel { get; set; }
        [StringLength(50)]
        public string Fax { get; set; }
        public virtual ICollection<User> Users { get; set; }

      
    }
}