初始化项目

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,42 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelItems
{
//[Table("HotelGroups")]
public class HotelGroups
{
[SugarColumn(IsPrimaryKey = true)]
public int Id { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true, IsPrimaryKey = false)]
public string Name { get; set; }
[SugarColumn(ColumnDataType = "int",IsPrimaryKey = false)]
public int ParentId { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true, IsPrimaryKey = false)]
public string Desc { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true, IsPrimaryKey = false)]
public DateTime CreateTime { get; set; } = DateTime.Now;
public int IsDel { get; set; } = 0;
//public string ParenetName { get; set; }
//public int Sort { get; set; }
}
}