1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-23 13:46:08 +03:00
ProxySU/ProxySuper.Core/Models/Projects/IProjectSettings.cs

37 lines
734 B
C#
Raw Normal View History

2021-05-13 04:58:45 +03:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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
}
}