using System;
using System.Collections.Generic;
using System.Text;

namespace ConfigurationApi.Model.Dto
{
    public class SysFloorListDto
    {
        /// <summary>
        /// 自增id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 楼层名称
        /// </summary>
        public string floorname { get; set; }
        /// <summary>
        /// 楼栋名称id
        /// </summary>
        public string buildid { get; set; }
        public string buildname { get; set; }
        /// <summary>
        /// 项目名称id
        /// </summary>
        public string projectid { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string projectname { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int sortnum { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int isdelete { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime createtime
        {
            set { _createtime = value.ToLocalTime(); }
            get { return _createtime.ToLocalTime(); }
        }
        private DateTime _createtime;
    }

    public class SysFloorDetailsDto
    {
        /// <summary>
        /// 自增id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 楼层名称
        /// </summary>
        public string floorname { get; set; }
        /// <summary>
        /// 楼栋名称id
        /// </summary>
        public string buildid { get; set; }
        public string buildname { get; set; }
        /// <summary>
        /// 项目名称id
        /// </summary>
        public string projectid { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int sortnum { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int isdelete { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime createtime
        {
            set { _createtime = value.ToLocalTime(); }
            get { return _createtime.ToLocalTime(); }
        }
        private DateTime _createtime;
    }
}
