HDL Home App 第二版本 旧平台金堂用 正在使用
hxb
2022-08-30 25429f085093d89d543a0b90e30d0d62d1b7dac9
ZigbeeApp/Shared/Common/ResponseEntity/ResidenceRes.cs
New file
@@ -0,0 +1,50 @@
using System;
using System.Collections.Generic;
namespace Shared.Common.ResponseEntity
{
    [Serializable]
    public class ResidenceRes
    {
        public int PageIndex;
        public int PageSize;
        public int TotalCount;
        public int TotalPages;
        public bool HasPreviousPage;
        public bool HasNextPage;
        public string RegionName;
        public List<ResidenceObj> PageData = new List<ResidenceObj>();
    }
    [Serializable]
    public class ResidenceObj
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public string CreatedOnUtc { get; set; }
        /// <summary>
        /// 是否为其他主用户分享过来的住宅
        /// </summary>
        public bool IsOthreShare { get; set; }
        /// <summary>
        /// 当前住宅是其他主帐号分享过来的主帐号的分布式Id
        /// </summary>
        public string MainUserDistributedMark { get; set; }
        /// <summary>
        /// 仅子账号登陆的时候使用,当【IsOthreShare】为"true",并且【AccountType】为"1"时,该账号拥有管理员权限
        /// </summary>
        public int AccountType { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        public double Longitude = 0;
        /// <summary>
        /// 纬度
        /// </summary>
        public double Latitude = 0;
    }
}