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.

54 lines
1.4 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 = "cw_design_gl_item", DisableSyncStructure = true)]
public partial class CwDesignGlItem {
/// <summary>
/// 项目GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string ITEMGID { get; set; } = "";
/// <summary>
/// 关联GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string LINKGID { get; set; } = "";
/// <summary>
/// 唯一编码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <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(50)", IsNullable = false)]
public string OPTYPE { get; set; } = "";
}
}