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
|
|
|
|
}
|
|
|
|
|
}
|