1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-27 07:36:06 +03:00
ProxySU/ProxySuper.Core/Models/Projects/IProjectSettings.cs

32 lines
695 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-16 04:12:47 +03:00
public class IProjectSettings
2021-05-13 04:58:45 +03:00
{
/// <summary>
/// 端口
/// </summary>
2021-05-16 04:12:47 +03:00
public virtual int Port { get; set; }
2021-05-13 04:58:45 +03:00
/// <summary>
/// 域名
/// </summary>
2021-05-16 04:12:47 +03:00
public virtual string Domain { get; set; }
2021-05-13 04:58:45 +03:00
/// <summary>
/// 额外需要开放的端口
/// </summary>
2021-05-16 04:12:47 +03:00
public virtual List<int> FreePorts { get; }
2021-05-14 14:07:19 +03:00
/// <summary>
/// 类型
/// </summary>
2021-05-16 04:12:47 +03:00
public virtual ProjectType Type { get; set; }
2021-05-13 04:58:45 +03:00
}
}