2021-07-08 13:37:32 +03:00
|
|
|
|
using System.Collections.Generic;
|
2021-05-13 04:58:45 +03:00
|
|
|
|
|
2021-05-14 14:07:19 +03:00
|
|
|
|
namespace ProxySuper.Core.Models.Projects
|
2021-05-13 04:58:45 +03:00
|
|
|
|
{
|
2021-05-20 13:32:17 +03:00
|
|
|
|
public interface IProjectSettings
|
2021-05-13 04:58:45 +03:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 端口
|
|
|
|
|
/// </summary>
|
2021-05-20 13:32:17 +03:00
|
|
|
|
int Port { get; set; }
|
2021-05-13 04:58:45 +03:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 域名
|
|
|
|
|
/// </summary>
|
2021-05-20 13:32:17 +03:00
|
|
|
|
string Domain { get; set; }
|
2021-05-13 04:58:45 +03:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 额外需要开放的端口
|
|
|
|
|
/// </summary>
|
2021-05-20 13:32:17 +03:00
|
|
|
|
List<int> FreePorts { get; }
|
2021-05-14 14:07:19 +03:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 类型
|
|
|
|
|
/// </summary>
|
2021-05-20 13:32:17 +03:00
|
|
|
|
ProjectType Type { get; set; }
|
2021-06-17 13:54:07 +03:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
string Email { get; }
|
2021-05-13 04:58:45 +03:00
|
|
|
|
}
|
|
|
|
|
}
|