init
This commit is contained in:
@@ -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