This commit is contained in:
2024-12-18 15:50:21 +08:00
parent 684973e6b7
commit b2c54119ea
214 changed files with 65908 additions and 8461 deletions

46
CapMachine.Model/User.cs Normal file
View File

@@ -0,0 +1,46 @@
using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Model
{
/// <summary>
/// 用户信息
/// </summary>
[Table(Name = "User")]
public class User
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// Name
/// </summary>
[Column(Name = "Name", IsNullable = false, StringLength = 100)]
public string? Name { get; set; }
/// <summary>
/// 密码
/// </summary>
[Column(Name = "Password", IsNullable = false, StringLength = 50)]
public string? Password { get; set; }
/// <summary>
/// 等级
/// </summary>
[Column(Name = "Level", IsNullable = false, StringLength = 50)]
public string? Level { get; set; }
/// <summary>
/// 是否启用
/// </summary>
[Column(Name = "IsEnable")]
public bool IsEnable { get; set; }
}
}