using Hncore.Infrastructure.Data;
using Hncore.Infrastructure.DDD;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Data;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore;
using Hncore.Infrastructure.WebApi;
using Hncore.Pass.Manage.Request;

namespace Hncore.Pass.Manage.Response
{
    public class PermissionResponse 

    {

        /// <summary>
        /// 用户数据库ID
        /// <summary>
        public  int Id { get; set; }

        /// <summary>
        /// 所属物业ID
        /// <summary>
        public int OwnerId { get; set; }

  
        /// <summary>
        /// 软删除标记，0.代表正常，1.代表已删除
        /// <summary>
        public   int DeleteTag { get; set; }

        /// <summary>
        /// 管理员id
        /// <summary>
        public int ManagerId { get; set; }  

        /// <summary>
        /// 权限编码
        /// <summary>
        public string PermissionCode  { get; set; }


        /// <summary>
        /// 是否查看
        /// </summary>
        public int AllowView  { get; set;  }


        /// <summary>
        /// 是否添加
        /// </summary>
        public int  AllowAdd   { get; set; }


        /// <summary>
        /// 是否修改
        /// </summary>
        public int AllowEdit  { get; set; }


        /// <summary>
        /// 是否删除
        /// </summary>
        public int AllowDel { get; set; }


    }
}
