初始化项目

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,57 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using SqlSugar;
namespace Models.ModelItems
{
#region
[Table("Organization")]
public class Organization
{
//[Key]
//[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
public int Id { get; set; }
/// <summary>
/// 用户组名
/// </summary>
///
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string OrganizationName { get; set; }
/// <summary>
/// 说明
/// </summary>
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Desc { get; set; }
[SugarColumn(ColumnDataType = "int")]
public int IsDefault { get; set; } = 0;
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
public DateTime CreateTime { get; set; } = DateTime.Now;
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true,DefaultValue = "系统")]
public string CreatedBy { get; set; } = "系统";
[SugarColumn(ColumnDataType = "int")]
public int IsValid { get; set; } = 0;
}
#endregion
}