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
+33 -33
View File
@@ -1,33 +1,33 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace IM_API.Models;
public partial class Permission
{
public int Id { get; set; }
/// <summary>
/// 权限类型(0:增,1:删,2:改,3:查)
/// </summary>
public int Ptype { get; set; }
/// <summary>
/// 权限名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 权限编码
/// </summary>
public int Code { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Column(TypeName = "datetimeoffset")]
public DateTimeOffset Created { get; set; }
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 Permission
{
public int Id { get; set; }
/// <summary>
/// 权限类型(0:增,1:删,2:改,3:查)
/// </summary>
public int Ptype { get; set; }
/// <summary>
/// 权限名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 权限编码
/// </summary>
public int Code { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Column(TypeName = "datetimeoffset")]
public DateTimeOffset Created { get; set; }
public virtual ICollection<Permissionarole> Permissionaroles { get; set; } = new List<Permissionarole>();
}