You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
141 lines
3.2 KiB
C#
141 lines
3.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Newtonsoft.Json;
|
|
using NPoco;
|
|
|
|
namespace POSV.Entity
|
|
{
|
|
[Serializable]
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
[TableName("pos_shortcut")]
|
|
[PrimaryKey(new string[] { "Id" } , AutoIncrement = false)]
|
|
public class ShortcutMenu : BaseEntity
|
|
{
|
|
public ShortcutMenu()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
* 租户ID
|
|
*/
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
[Column("tenantId")]
|
|
public string TenantId { get; set; }
|
|
|
|
/**
|
|
* 模块归属的区域
|
|
*/
|
|
[JsonProperty(PropertyName = "area")]
|
|
[Column("area")]
|
|
public string Area { get; set; }
|
|
|
|
/**
|
|
* ParentID
|
|
*/
|
|
[JsonProperty(PropertyName = "parentId")]
|
|
[Column("parentId")]
|
|
public string ParentId { get; set; }
|
|
|
|
/**
|
|
* 模块名称
|
|
*/
|
|
[JsonProperty(PropertyName = "name")]
|
|
[Column("name")]
|
|
public string Name { get; set; }
|
|
|
|
/**
|
|
* 模块别名
|
|
*/
|
|
[JsonProperty(PropertyName = "alias")]
|
|
[Column("alias")]
|
|
public string Alias { get; set; }
|
|
|
|
/**
|
|
* 模块标识
|
|
*/
|
|
[JsonProperty(PropertyName = "keycode")]
|
|
[Column("keycode")]
|
|
public string KeyCode { get; set; }
|
|
|
|
/**
|
|
* 模块数据
|
|
*/
|
|
[JsonProperty(PropertyName = "keydata")]
|
|
[Column("keydata")]
|
|
public string KeyData { get; set; }
|
|
|
|
/**
|
|
* 鼠标按下的颜色
|
|
*/
|
|
[JsonProperty(PropertyName = "color1")]
|
|
[Column("color1")]
|
|
public string Color1 { get; set; }
|
|
|
|
/**
|
|
* 鼠标弹起的颜色
|
|
*/
|
|
[JsonProperty(PropertyName = "color2")]
|
|
[Column("color2")]
|
|
public string Color2 { get; set; }
|
|
|
|
/**
|
|
* 字体的颜色
|
|
*/
|
|
[JsonProperty(PropertyName = "color3")]
|
|
[Column("color3")]
|
|
public string Color3 { get; set; }
|
|
|
|
/**
|
|
* 字体大小
|
|
*/
|
|
[JsonProperty(PropertyName = "fontSize")]
|
|
[Column("fontSize")]
|
|
public string FontSize { get; set; }
|
|
|
|
/**
|
|
* 快捷键
|
|
*/
|
|
[JsonProperty(PropertyName = "shortcut")]
|
|
[Column("shortcut")]
|
|
public string Shortcut { get; set; }
|
|
|
|
/**
|
|
* 显示序号
|
|
*/
|
|
[JsonProperty(PropertyName = "orderNo")]
|
|
[Column("orderNo")]
|
|
public int OrderNo { get; set; }
|
|
|
|
/**
|
|
* 显示图标
|
|
*/
|
|
[JsonProperty(PropertyName = "icon")]
|
|
[Column("icon")]
|
|
public string Icon { get; set; }
|
|
|
|
/**
|
|
* 是否启用
|
|
*/
|
|
[JsonProperty(PropertyName = "enable")]
|
|
[Column("enable")]
|
|
public int Enable { get; set; }
|
|
|
|
/**
|
|
* 资源ID
|
|
*/
|
|
[JsonProperty(PropertyName = "resourceId")]
|
|
[Column("resourceId")]
|
|
public string ResourceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 权限控制码
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "permission")]
|
|
[Ignore]
|
|
public string PermissionCode { get; set; }
|
|
}
|
|
}
|