using System; using System.Collections.Generic; using System.Linq; using System.Text; using Forks.EnterpriseServices; using Forks.EnterpriseServices.DomainObjects2; namespace BO { [LogicName("称重数据")] [BOClass] [Serializable] [MapToTable("LoginUser")] [KeyField("ID", KeyGenType.identity)] public class LoginUser { [LogicName("ID")] public long ID { get; set; } [LogicName("用户名")] [DbColumn(Length = 20)] public string UserName { get; set; } [LogicName("密码")] [DbColumn(Length = 16)] public byte[] PassWord { get; set; } [LogicName("角色")] [DbColumn(Length = 10)] public string RoleSchema { get; set; } } }