RMS.EF.Model/Entity_Extend/RMS/RMS_Menu.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RMS.EF.Model
{
[MetadataType(typeof(RMS_Menu_Metadata))]
public partial class RMS_Menu
{
/// <summary>
/// Url中"?"前面的部分
/// </summary>
[NotMapped]
public string UrlAbsolutePath
{
get
{
var result = this.Url ?? string.Empty;
if (result.Contains('?'))
{
result = result.Split('?')[0];
}
return result;
}
}
/// <summary>
/// 菜单类型
/// </summary>
[NotMapped]
public E_Type_Menu EType
{
get
{
if (!this.Type.HasValue)
{
this.Type = (int)E_Type_Menu.Menu;
}
return (E_Type_Menu)this.Type.Value;
}
set
{
this.Type = (int)value;
}
}
/// <summary>
/// 删除状态
/// </summary>
[NotMapped]
public E_Deleted EDeleted
{
get
{
if (!this.Deleted.HasValue)
{
this.Deleted = (int)E_Deleted.Normal;
后面还有 41 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。