mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-22 07:05:56 +08:00
50 lines
1.3 KiB
C#
50 lines
1.3 KiB
C#
using AgileConfig.Server.Apisite.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using AgileConfig.Server.Data.Entity;
|
|
using NuGet.Common;
|
|
|
|
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; }
|
|
|
|
public string Group { get; set; }
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
}
|
|
}
|