mirror of
https://github.com/2dust/v2rayN.git
synced 2025-11-06 07:22:53 +00:00
* Add rule type selection to routing rules * Use enum --------- Co-authored-by: 2dust <31833384+2dust@users.noreply.github.com>
19 lines
634 B
C#
19 lines
634 B
C#
namespace ServiceLib.Models;
|
|
|
|
[Serializable]
|
|
public class RulesItem
|
|
{
|
|
public string Id { get; set; }
|
|
public string? Type { get; set; }
|
|
public string? Port { get; set; }
|
|
public string? Network { get; set; }
|
|
public List<string>? InboundTag { get; set; }
|
|
public string? OutboundTag { get; set; }
|
|
public List<string>? Ip { get; set; }
|
|
public List<string>? Domain { get; set; }
|
|
public List<string>? Protocol { get; set; }
|
|
public List<string>? Process { get; set; }
|
|
public bool Enabled { get; set; } = true;
|
|
public string? Remarks { get; set; }
|
|
public ERuleType? RuleType { get; set; }
|
|
}
|