mirror of
https://github.com/2dust/v2rayN.git
synced 2026-05-30 01:34:08 +00: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.
22 lines
544 B
C#
22 lines
544 B
C#
namespace ServiceLib.Models.Entities;
|
|
|
|
[Obsolete("Use ProtocolExtraItem instead.")]
|
|
[Serializable]
|
|
public class ProfileGroupItem
|
|
{
|
|
[PrimaryKey]
|
|
public string IndexId { get; set; }
|
|
|
|
public string ChildItems { get; set; }
|
|
|
|
public string? SubChildItems { get; set; }
|
|
|
|
public string? Filter { get; set; }
|
|
|
|
public EMultipleLoad MultipleLoad { get; set; } = EMultipleLoad.LeastPing;
|
|
|
|
public bool NotHasChild()
|
|
{
|
|
return string.IsNullOrWhiteSpace(ChildItems) && string.IsNullOrWhiteSpace(SubChildItems);
|
|
}
|
|
}
|