32 lines
679 B
C#
32 lines
679 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
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>
|
|
public DateTime Created { get; set; }
|
|
|
|
public virtual ICollection<Permissionarole> Permissionaroles { get; set; } = new List<Permissionarole>();
|
|
}
|