mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-23 08:18:03 +08:00
44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
using AgileConfig.Server.Apisite.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AgileConfig.Server.Apisite.Controllers.api.Models
|
|
{
|
|
/// <summary>
|
|
/// restful api 返回的 app 模型
|
|
/// </summary>
|
|
public class ApiAppVM : IAppModel
|
|
{
|
|
/// <summary>
|
|
/// 是否可继承
|
|
/// </summary>
|
|
public bool Inheritanced { get; set; }
|
|
/// <summary>
|
|
/// id
|
|
/// </summary>
|
|
public string Id { get; set; }
|
|
/// <summary>
|
|
/// name
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// 密钥
|
|
/// </summary>
|
|
public string Secret { get; set; }
|
|
/// <summary>
|
|
/// 是否启用
|
|
/// </summary>
|
|
public bool? Enabled { get; set; }
|
|
/// <summary>
|
|
/// 关联的app
|
|
/// </summary>
|
|
public List<string> InheritancedApps { get; set; }
|
|
/// <summary>
|
|
/// 管理员
|
|
/// </summary>
|
|
public string AppAdmin { get; set; }
|
|
}
|
|
}
|