using Siger.ApiCommon.Result;
using Siger.Middlelayer.Common.ModuleEnum;
using System.Collections.Generic;

namespace Siger.ApiQMS.Result
{
    public class QmsResultBase : OtherObjectResult
    {
        public int ret { get; set; } = 1;
    }

    public class QmsBIResult : QmsResultBase
    {
        public object data { get; set; }

        public string msg { get; set; }

        public int type { get; set; }
    }

    public class QmsBI4Result : QmsResultBase
    {
        public int Activated { get; set; }
        public string Summary { get; set; }
        public List<QmsRanking> Ranking { get; set; }
        public object Data { get; set; }

    }
    public class QmsRanking
    {
        public string ID { get; set; }
        public double Value { get; set; }
    }
}
