CeramicProjectTool/Model/ModuleModel.cs

54 lines
1.2 KiB
C#

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CeramicProjectTool.Model
{
[SugarTable("nr_sys_mk")]
public sealed class ModuleModel
{
/*
[id]
,[belongmkid]
,[mc]
,[gnurl]
,[isview]
,[xh]*/
/// <summary>
/// ID
/// </summary>
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
public int Id { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "belongmkid")]
public int BelongMKId { get; set; }
/// <summary>
/// 模块名称
/// </summary>
[SugarColumn(ColumnName = "mc")]
public string ModuleName { get; set; }
/// <summary>
/// 模块路径
/// </summary>
[SugarColumn(ColumnName = "gnurl")]
public string GNURL { get; set; }
/// <summary>
/// 是否可见
/// </summary>
[SugarColumn(ColumnName = "isview")]
public bool IsView { get; set; }
/// <summary>
/// 序号
/// </summary>
[SugarColumn(ColumnName = "xh")]
public int XH { get; set; }
}
}