BaoKai_202508-Wms-Jingwang..../WMS.Model/Base/BaseMenuModel.cs
2025-08-24 09:35:55 +08:00

177 lines
4.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using WMS.Attirubte;
namespace WMS.Model.Base
{
/// <summary>
/// 菜单
/// </summary>
[Serializable]
[TableClmAttribute(TableName = "T_BASE_MENU")]
public class BaseMenuModel
{
private string _P_MENU_ID =string.Empty;
private string _MENU_ID=string.Empty;
private string _MENU_NAME = string.Empty;
private string _MENU_LEVEL ="1";
private string _REMARK= string.Empty;
private string _MENU_FORM = string.Empty;
private string _MENU_TAG = string.Empty;
private string _MENU_IMAGE = string.Empty;
private string _FRM_TYPE = string.Empty;
private string _P_MENU_NAME = string.Empty;
private string _VC_EIDT = string.Empty;
private decimal _MENU_SORT = 0;
private Boolean _ischeck=false;
/// <summary>
/// 选择
/// </summary>
[DisplayName("选择")]
[TableClm(NoSelect = false)]
public Boolean IsCheckRec
{
get { return _ischeck; }
set { _ischeck = value; }
}
/// <summary>
/// 父菜单的id
/// </summary>
///
[DisplayName("父菜单")]
public string P_MENU_ID
{
set { _P_MENU_ID = value; }
get { return _P_MENU_ID; }
}
/// <summary>
/// 菜单的id
/// </summary>
///
[DisplayName("菜单编号")]
public string MENU_ID
{
set { _MENU_ID = value; }
get { return _MENU_ID; }
}
/// <summary>
/// 菜单的名称
/// </summary>
///
[DisplayName("父菜单名称")]
[TableClm(NoSelect = false)]
public string P_MENU_NAME
{
set { _P_MENU_NAME = value; }
get { return _P_MENU_NAME; }
}
/// <summary>
/// 窗体编辑0:不可编辑;1:可编辑)
/// </summary>
///
[DisplayName("窗体编辑")]
[TableClm(ColumnData = "不可编辑%0|可编辑%1")]
public string VC_EIDT
{
set { _VC_EIDT = value; }
get { return _VC_EIDT; }
}
/// <summary>
/// 菜单的名称
/// </summary>
///
[DisplayName("菜单名称")]
public string MENU_NAME
{
set { _MENU_NAME = value; }
get { return _MENU_NAME; }
}
/// <summary>
/// 菜单的级别 1,2,
/// </summary>
///
[DisplayName("等级")]
public string MENU_LEVEL
{
set { _MENU_LEVEL = value; }
get { return _MENU_LEVEL; }
}
/// <summary>
/// 备注
/// </summary>
///
[DisplayName("备注")]
public string REMARK
{
set { _REMARK = value; }
get { return _REMARK; }
}
/// <summary>
/// 菜单对应的窗体名
/// </summary>
///
[DisplayName("窗体名")]
public string MENU_FORM
{
set { _MENU_FORM = value; }
get { return _MENU_FORM; }
}
/// <summary>
/// 模块的名称
/// </summary>
///
[DisplayName("模块名称")]
public string MENU_TAG
{
set { _MENU_TAG = value; }
get { return _MENU_TAG; }
}
/// <summary>
/// 图片地址
/// </summary>
///
[DisplayName("图片地址")]
public string MENU_IMAGE
{
set { _MENU_IMAGE = value; }
get { return _MENU_IMAGE; }
}
/// <summary>
/// 窗体的类型
/// </summary>
///
[DisplayName("窗体类型")]
public string FRM_TYPE
{
set { _FRM_TYPE = value; }
get { return _FRM_TYPE; }
}
/// <summary>
/// 窗体排序
/// </summary>
///
[DisplayName("窗体排序")]
public decimal MENU_SORT
{
set { _MENU_SORT = value; }
get { return _MENU_SORT; }
}
/// <summary>
/// 菜单初始值
/// </summary>
string _MENU_VAL = string.Empty;
[DisplayName("菜单初始值")]
public string MENU_VAL
{
set { _MENU_VAL = value; }
get { return _MENU_VAL; }
}
}
}