This commit is contained in:
2026-02-12 21:53:26 +08:00
parent 77db20dc38
commit b96d895809
339 changed files with 46655 additions and 46657 deletions
+30 -30
View File
@@ -1,30 +1,30 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace IM_API.Models;
public partial class Role
{
public int Id { get; set; }
/// <summary>
/// 角色名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 角色描述
/// </summary>
public string Description { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
[Column(TypeName = "datetimeoffset")]
public DateTimeOffset Created { get; set; }
public virtual ICollection<Admin> Admins { get; set; } = new List<Admin>();
public virtual ICollection<Permissionarole> Permissionaroles { get; set; } = new List<Permissionarole>();
}
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace IM_API.Models;
public partial class Role
{
public int Id { get; set; }
/// <summary>
/// 角色名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 角色描述
/// </summary>
public string Description { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
[Column(TypeName = "datetimeoffset")]
public DateTimeOffset Created { get; set; }
public virtual ICollection<Admin> Admins { get; set; } = new List<Admin>();
public virtual ICollection<Permissionarole> Permissionaroles { get; set; } = new List<Permissionarole>();
}