using Forks.EnterpriseServices.DomainObjects2;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ButcherFactory.BO
|
|
{
|
|
[MapToTable("WpfUser")]
|
|
public class WpfUser
|
|
{
|
|
public long ID { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
[DbColumn(AllowNull = false, DbType = SqlDbType.Binary, Length = 16)]
|
|
public byte[] Password { get; set; }
|
|
public string Role { get; set; }
|
|
|
|
List<string> _roleList = new List<string>();
|
|
[NonDmoProperty]
|
|
public List<string> RoleList { get { return _roleList; } }
|
|
|
|
[NonDmoProperty]
|
|
public bool Login { get; set; }
|
|
}
|
|
}
|