using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CRM.Core.Model.Entity { [Table("BAS_COMPANY")] public partial class BAS_COMPANY { [Key] public decimal COMPANYID { get; set; } [StringLength(50)] public string COMPANYNAME { get; set; } public short? ISOUTERAGENT { get; set; } public decimal? PARENTID { get; set; } [StringLength(6)] public string COMPANYCODE { get; set; } public decimal BUSINESSVALUE { get; set; } public DateTime? CTIME { get; set; } public decimal? CREATEUSER { get; set; } public DateTime? UTIME { get; set; } public decimal? UPDATEUSER { get; set; } [StringLength(100)] public string COMMENTS { get; set; } public string SYSTEMCODE { get; set; } [StringLength(20)] public string ORGANNAME { get; set; } public int MINCHANNELCODE { get; set; } public int MAXCHANNELCODE { get; set; } } }