123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System;
- using System.Collections.Generic;
- namespace CustomizeDiagnosisSDK.Models
- {
- /// <summary>
- /// AI 功能信息
- /// </summary>
- public class FunctionInfo
- {
- /// <summary>
- /// AI 功能名称
- /// </summary>
- public string FunctionName { get; set; }
- /// <summary>
- /// 是否可用
- /// </summary>
- public bool IsEnabled { get; set; }
- /// <summary>
- /// 功能版本号
- /// </summary>
- public string Version { get; set; }
- /// <summary>
- /// 功能过期时间
- /// </summary>
- public DateTime? ExpiredTime { get; set; }
- /// <summary>
- /// 引擎信息列表
- /// </summary>
- public List<EngineInfo> Engines { get; set; }
- public FunctionInfo(Enum name, bool isEnabled, string version, DateTime? expiredTime, List<EngineInfo> engines)
- {
- FunctionName = name.ToString();
- IsEnabled = isEnabled;
- Version = version;
- ExpiredTime = expiredTime;
- Engines = engines;
- }
- }
- }
|