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.
87 lines
2.1 KiB
C#
87 lines
2.1 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 = "sys_dept", DisableSyncStructure = true)]
|
|
public partial class SysDept {
|
|
|
|
/// <summary>
|
|
/// 惟一编号
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
|
|
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[JsonProperty, Column(InsertValueSql = "getdate()")]
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人GID
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
public string CREATEUSER { get; set; }
|
|
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(100)")]
|
|
public string DEPTNAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 代码
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string DEPTNO { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string FINANCESOFTCODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 公司关联id
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
|
|
public string LINKID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 经理
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(100)")]
|
|
public string MANAGE1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 副经理
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(100)")]
|
|
public string MANAGE2 { 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; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(100)")]
|
|
public string REMARK { get; set; }
|
|
|
|
}
|
|
|
|
}
|