初始化项目

This commit is contained in:
2025-11-20 09:50:21 +08:00
commit 94b24e1a5d
4209 changed files with 1570805 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelItems
{
#region
[Table("AppAutho")]
public class AppAutho
{
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
public int Id { get; set; }
//[ForeignKey("AppId")]
/// <summary>
/// 应用ID
/// </summary>
//[Key, Column(Order = 1)]
[SugarColumn(ColumnDataType ="int")]
public int AppId { get; set; }
//[ForeignKey("AuthorityId")]
//public Authority authority { get; set; }
/// <summary>
/// 权限ID
/// </summary>
[SugarColumn(ColumnDataType = "int")]
///
//[Key, Column(Order = 2)]
public int AuthorityId { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)")]
public DateTime CreateTime { get; set; } = DateTime.Now;
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true ,DefaultValue = "系统")]
public string CreatedBy { get; set; } = "系统";
}
#endregion
}