You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

183 lines
4.9 KiB
C#

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; } = "";
/// <summary>
/// 发票抬头
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string BILLRISES { get; set; }
/// <summary>
/// 支票抬头
/// </summary>
[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; }
/// <summary>
/// 公司英文地址
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string ENADDRESS { get; set; }
/// <summary>
/// 公司英文名称
/// </summary>
[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; }
/// <summary>
/// 徽标
/// </summary>
[JsonProperty, Column(DbType = "image")]
public byte[] LOGO { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
/// 更新人gid
/// </summary>
[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; }
/// <summary>
/// 打印抬头1
/// </summary>
[JsonProperty, Column(DbType = "varchar(1024)")]
public string PRTHEADXML1 { get; set; }
/// <summary>
/// 打印抬头2
/// </summary>
[JsonProperty, Column(DbType = "varchar(1024)")]
public string PRTHEADXML2 { get; set; }
/// <summary>
/// 打印抬头3
/// </summary>
[JsonProperty, Column(DbType = "varchar(1024)")]
public string PRTHEADXML3 { get; set; }
/// <summary>
/// 打印抬头4
/// </summary>
[JsonProperty, Column(DbType = "varchar(1024)")]
public string PRTHEADXML4 { get; set; }
/// <summary>
/// 打印抬头5
/// </summary>
[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; }
}
}