using FreeSql.DatabaseModel;using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Newtonsoft.Json; using FreeSql.DataAnnotations; namespace djy.Model { [JsonObject(MemberSerialization.OptIn), Table(Name = "company", DisableSyncStructure = true)] public partial class Company { [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); [JsonProperty, Column(DbType = "varchar(100)")] public string ADDRESS { get; set; } [JsonProperty, Column(Name = "allowOpenMark2")] public int AllowOpenMark2 { get; set; } = 0; [JsonProperty, Column(DbType = "varchar(120)")] public string BANKSHEAD { get; set; } = ""; /// /// 发票抬头 /// [JsonProperty, Column(DbType = "varchar(60)")] public string BILLRISES { get; set; } /// /// 支票抬头 /// [JsonProperty, Column(DbType = "varchar(60)")] public string CHEQUEPAYABLE { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string CODENAME { get; set; } [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime CREATETIME { get; set; } [JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)] public string CREATEUSER { get; set; } [JsonProperty, Column(DbType = "varchar(60)")] public string DBNAME { get; set; } [JsonProperty, Column(DbType = "varchar(100)")] public string EMAIL { get; set; } /// /// 公司英文地址 /// [JsonProperty, Column(DbType = "varchar(100)")] public string ENADDRESS { get; set; } /// /// 公司英文名称 /// [JsonProperty, Column(DbType = "varchar(150)")] public string ENNAME { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string FAX { get; set; } [JsonProperty, Column(DbType = "varchar(200)")] public string FTPURL { get; set; } = ""; [JsonProperty, Column(DbType = "varchar(150)")] public string FULLNAME { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string GPSPassWord { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string GPSUser { get; set; } [JsonProperty, Column(Name = "isDelegate")] public int IsDelegate { get; set; } = 0; [JsonProperty] public bool? ISDELETED { get; set; } = false; [JsonProperty] public bool? ISDISABLE { get; set; } = false; [JsonProperty, Column(DbType = "varchar(30)")] public string LICENSECODE { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string LOCALCURR { get; set; } /// /// 徽标 /// [JsonProperty, Column(DbType = "image")] public byte[] LOGO { get; set; } /// /// 更新时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? MODIFIEDTIME { get; set; } /// /// 更新人gid /// [JsonProperty, Column(DbType = "varchar(36)")] public string MODIFIEDUSER { get; set; } [JsonProperty, Column(DbType = "varchar(150)", IsNullable = false)] public string NAME { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string OFFICEPHONE { get; set; } [JsonProperty, Column(Name = "openCustom")] public int OpenCustom { get; set; } = 0; [JsonProperty, Column(DbType = "varchar(50)")] public string ORGANIZATIONCODE { get; set; } = ""; [JsonProperty, Column(DbType = "varchar(36)")] public string PARENTID { get; set; } = "0"; [JsonProperty, Column(DbType = "varchar(50)")] public string POSTCODE { get; set; } /// /// 打印抬头1 /// [JsonProperty, Column(DbType = "varchar(1024)")] public string PRTHEADXML1 { get; set; } /// /// 打印抬头2 /// [JsonProperty, Column(DbType = "varchar(1024)")] public string PRTHEADXML2 { get; set; } /// /// 打印抬头3 /// [JsonProperty, Column(DbType = "varchar(1024)")] public string PRTHEADXML3 { get; set; } /// /// 打印抬头4 /// [JsonProperty, Column(DbType = "varchar(1024)")] public string PRTHEADXML4 { get; set; } /// /// 打印抬头5 /// [JsonProperty, Column(DbType = "varchar(1024)")] public string PRTHEADXML5 { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string TAXCODE { get; set; } [JsonProperty, Column(Name = "TRADE_CODE", DbType = "varchar(10)")] public string TRADECODE { get; set; } [JsonProperty, Column(DbType = "varchar(4)")] public string UNIT { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string VGMCODE { get; set; } [JsonProperty, Column(DbType = "varchar(150)")] public string WEBSITEURL { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string WORKFLOWMSG { get; set; } } }