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.5 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_templet", DisableSyncStructure = true)]
public partial class UserTemplet {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(DbType = "varchar(36)")]
public string COMPANYID { get; set; }
[JsonProperty, Column(DbType = "varchar(30)")]
public string ICONNAME { get; set; }
[JsonProperty]
public bool? ISICOWAY { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string ITEMID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(DbType = "varchar(200)")]
public string ITEMNAME { get; set; }
[JsonProperty, Column(DbType = "varchar(200)")]
public string LINKURL { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string PARENTID { get; set; }
[JsonProperty]
public int? SORT { get; set; }
[JsonProperty, Column(DbType = "varchar(MAX)")]
public string SQL { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string TEMPLETID { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string USERID { get; set; }
}
}