init
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
@@ -0,0 +1,27 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface.CustomChannels
|
||||
{
|
||||
public interface ICustomChannelsViewModel : IBaseViewModel
|
||||
{
|
||||
ICustomChannelsImportView ImportView { get; set; }
|
||||
ICustomChannelsExportView ExportView { get; set; }
|
||||
|
||||
void Unset();
|
||||
|
||||
void OnSetActive(bool bImport);
|
||||
|
||||
string ExportFileName { get; set; }
|
||||
string ImportFileName { get; set; }
|
||||
void ReadImportFile();
|
||||
|
||||
ObservableCollection<ICustomChannelModel> AllCustomChannels { get; }
|
||||
|
||||
void SelectAll();
|
||||
void ClearSelection();
|
||||
|
||||
void Export();
|
||||
void Import();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interface.Database
|
||||
{
|
||||
public interface IUserDbRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// Database Id of user
|
||||
/// </summary>
|
||||
int ID { get; set; }
|
||||
/// <summary>
|
||||
/// User name of user
|
||||
/// Must be unique
|
||||
/// </summary>
|
||||
string UserName { get; set; }
|
||||
/// <summary>
|
||||
/// string to use when displaying user in UI
|
||||
/// </summary>
|
||||
string DisplayName { get; set; }
|
||||
/// <summary>
|
||||
/// Password for user
|
||||
/// Password is a hashed and salted value, passwords are not
|
||||
/// stored in database
|
||||
/// </summary>
|
||||
string Password { get; set; }
|
||||
/// <summary>
|
||||
/// Role of user
|
||||
/// </summary>
|
||||
short Role { get; set; }
|
||||
/// <summary>
|
||||
/// DateTime user was last modified
|
||||
/// </summary>
|
||||
DateTime LastModified { get; set; }
|
||||
/// <summary>
|
||||
/// User that last modified user
|
||||
/// </summary>
|
||||
string LastModifiedBy { get; set; }
|
||||
/// <summary>
|
||||
/// whether user should be synchronized between local and remote databases
|
||||
/// deprecated
|
||||
/// </summary>
|
||||
bool LocalOnly { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user