整合管理器应用端(MAUI跨平台)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.4 KiB

using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Text;
namespace SunlightAggregationTerminal.Models
{
#pragma warning disable CA1416
public partial class DataModel : ObservableObject
{
[ObservableProperty]
public partial string User { get; set; }
[ObservableProperty]
public partial string UserId { get; set; }
[ObservableProperty]
public partial string UserName { get; set; }
[ObservableProperty]
public partial string UserPassword { get; set; }
[ObservableProperty]
public partial string Enterprise { get; set; }
[ObservableProperty]
public partial string Department { get; set; }
[ObservableProperty]
public partial string ServerID { get; set; }
[ObservableProperty]
public partial string Groups { get; set; }
[ObservableProperty]
public partial string ProxyID { get; set; }
[ObservableProperty]
public partial bool LogNo { get; set; }
public bool IsNotLogNo => !LogNo;
[ObservableProperty]
public partial bool LocalAreaNetworkMode { get; set; }
[ObservableProperty]
public partial bool DarkMode { get; set; }
[ObservableProperty]
public partial bool MessageNotificationMode { get; set; }
}
}