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.

48 lines
1.3 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 = "user_attribute", DisableSyncStructure = true)]
public partial class UserAttribute {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? CREATETIME { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
public string DEFAULTVALUE { get; set; }
[JsonProperty, Column(DbType = "varchar(150)")]
public string DESCRIPTION { get; set; }
[JsonProperty]
public DateTime? MODIFIEDTIME { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(50)", IsNullable = false)]
public string NAME { get; set; }
[JsonProperty]
public int? SORT { get; set; } = 0;
[JsonProperty]
public int STATE { get; set; } = 0;
}
}