using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Siger.ApiCommon;

namespace Siger.ApiQMS.Controllers
{
    /// <summary>
    /// 
    /// </summary>
    [Route("qms/[controller]/[action]")]
    public class BaseController : AuthController
    {
        public Dictionary<string, int> GetAllCategories()
        {
            var dict = new Dictionary<string, int>
            {
                {"首件", 5},
                {"抽检", 2},
                {"末件", 3},
                {"SPC检查", 6},
                {"首检", 1},
                {"二级件校对", 4},
                {"其他", 7},
            };
            return dict;
        }
    }
}