|
|
|
|
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 = "user", DisableSyncStructure = true)]
|
|
|
|
|
public partial class User {
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
|
|
|
|
|
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
|
|
public string CODENAME { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(Name = "comid", DbType = "varchar(50)", IsNullable = false)]
|
|
|
|
|
public string Comid { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
|
|
|
|
|
public string COMNAME { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
|
|
public string CompId { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(100)")]
|
|
|
|
|
public string COMTYPE { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(Name = "cscode", DbType = "varchar(20)")]
|
|
|
|
|
public string Cscode { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
[JsonProperty]
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
|
|
public string DELETEUSER { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(InsertValueSql = "getdate()")]
|
|
|
|
|
public DateTime? ENROLLTIME { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
|
|
|
|
|
public string FaSongFangDaiMa { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(Name = "isAllowGenerate")]
|
|
|
|
|
public bool IsAllowGenerate { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(Name = "isAllowSend")]
|
|
|
|
|
public bool IsAllowSend { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
[JsonProperty]
|
|
|
|
|
public bool? ISDELETED { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
[JsonProperty]
|
|
|
|
|
public bool? ISDISABLE { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty]
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
|
|
public string NOCODE { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(StringLength = 200, IsNullable = false)]
|
|
|
|
|
public string OPENID { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(StringLength = 100)]
|
|
|
|
|
public string PASSWORD { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(Name = "ptEmail", DbType = "varchar(50)", IsNullable = false)]
|
|
|
|
|
public string PtEmail { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(Name = "ptPhone", DbType = "varchar(20)", IsNullable = false)]
|
|
|
|
|
public string PtPhone { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(150)", IsNullable = false)]
|
|
|
|
|
public string SHOWNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(150)", IsNullable = false)]
|
|
|
|
|
public string USERNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(StringLength = 200, IsNullable = false)]
|
|
|
|
|
public string WeChatAccount { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
|
|
public string YAOQINGMA { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <20><><EFBFBD>ذ<EFBFBD><D8B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˻<EFBFBD>ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
|
|
public string BaoguanAliId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|