using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Nirvana.Common;
using Nirvana.Common.ApiBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YBDevice.Application;

namespace YBDevice.NWeb
{
    /// <summary>
    /// 基础定义,需要权限的都引用此类
    /// </summary>
    [Authorize]
    public class BaseModel: CustomModel
    {
        public OperatorModel Baseuser = BaseInfoService.GetUserInfo();
    }
}
