using System; using System.Collections.Generic; namespace HDL_ON.Entity { /// /// 2020-11-16 待修改调整 /// 住宅成员的信息列表 /// public class ResidenceMemberInfo { public ResidenceMemberInfo() { } //public string Account = ""; //public string UserName = ""; //public string SubAccountDistributedMark = ""; //public string DistributedMark = ""; //public string Nickname = ""; //public int AccountType = 0; ///// ///// ///// //public bool IsAllowRemoteCtrl = false; ///// ///// 是否允许子账号创建场景 ///// //public bool IsAllowCreateScene = false; public string headImagePagePath = "LoginIcon/2.png"; /// /// 子账号获得的当前住宅的功能数据 /// public List CurResidenceShareDate = new List(); /// /// /// public string id; /// /// /// public string homeId; /// /// /// public string homeRegionId; /// /// /// public string childAccountId; /// /// /// public string childAccountRegionId; /// /// 子账户类型 ORDINARY、DEBUG、ADMIN /// public string childAccountType; /// /// 是否允许远程控制 /// public bool isRemoteControl; /// /// 是否创建场景 /// public bool isAllowCreateScene; /// /// 昵称1 /// public string nickName; /// /// /// public string createTime; /// /// 用户名字 /// public string UserName = ""; /// /// /// public string childAccountEmail; /// /// /// public string childAccountPhone; /// /// 用户账号 /// 优先显示手机号,如果手机号为空则显示邮箱地址 /// public string Account { get { if (!string.IsNullOrEmpty(childAccountPhone)) { return childAccountPhone; } else { if (!string.IsNullOrEmpty(childAccountEmail)) { return childAccountEmail; } else { return ""; } } } } } public class ShareData { ///// ///// 备份名称 ///// //public string ShareName = ""; ///// ///// 备份的数据ID ///// //public string DistributedMark = ""; ///// ///// 备份所属的住宅ID ///// //public string HouseDistributedMark = ""; ///// ///// 子账号ID ///// //public string SubAccountDistributedMark = ""; /// /// 功能数据 /// public byte[] ShareDataBytes; /// /// 主键ID /// public string id; /// /// 住宅ID /// public string homeId; /// /// 子账号ID /// public string childAccountId; /// /// 文件名 /// public string fileName; /// /// 创建时间 /// public string createTime; } }