mirror of
https://github.com/2dust/v2rayN.git
synced 2026-07-31 04:12:04 +03:00
Move many model classes into new sub-namespaces (ServiceLib.Models.CoreConfigs, ServiceLib.Models.Configs, ServiceLib.Models.Dto, ServiceLib.Models.Entities). Update GlobalUsings in ServiceLib, v2rayN.Desktop, v2rayN and add a tests GlobalUsings file to reference the new namespaces. Adjust static using directives in ClashApiManager and ClashProxiesViewModel to use ServiceLib.Models.Dto. This is a reorganization/rename of files and namespaces with no functional changes.
20 lines
643 B
C#
20 lines
643 B
C#
namespace ServiceLib.Models.Entities;
|
|
|
|
[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; }
|
|
}
|