Core/SM/Model/SysDet.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Common.Data;
using Core.SM.Dal;

namespace Core.SM.Model
{
    [TableName("SM_SYS_DET")]
    [Description("程式設定單頭")]
    public class SysDet
    {
        [Description("主鍵")]
        public int KeyId { get; set; }
        [Description("系統代號")]
        public int SysId { get; set; }
        [Description("程式代號")]
        public string ProCode { get; set; }
        [Description("程式名稱")]
        public string ProName { get; set; }
        [Description("父節點KeyId")]
        public int ParentId { get; set; }
        [Description("程式類型")]
        public string ProType { get; set; }
        [Description("連接路徑")]
        public string LinkUrl { get; set; }
        [Description("排序")]
        public int Sortnum { get; set; }
        [Description("圖示CSS")]
        public string IconCls { get; set; }
        [Description("啟用/停用")]
        public bool State { get; set; }
        [Description("輸入人員")]
        public string InUser { get; set; }
        [DbField(false)]
        public SysMas SysMas { get; set; }

        [DbField(false)]
        public IEnumerable<SysDet> children
        {
            get
            {
                return SysDetDal.Instance.GetListBy(KeyId);
            }
        }

        [DbField(false)]
        public IEnumerable<Button> Buttons
        {
            get { return ButtonDal.Instance.GetButtonsBy(KeyId); }
        }

        [DbField(false)]
        public bool SysState
        {
            get
            {
                return SysMasDal.Instance.Get(SysId).State;
后面还有 6 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。