46 lines
976 B
C#
46 lines
976 B
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace Hncore.Pass.Manage.Response
|
||
{
|
||
public class CreateOrEditManagerToResponse
|
||
{
|
||
|
||
/// <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>
|
||
/// 管理员标签
|
||
/// </summary>
|
||
public string PermissionCode { get; set; }
|
||
|
||
public CreateOrEditManagerToResponse FromEntity(Domain.ManagerToPermission managerToPermission)
|
||
{
|
||
|
||
PermissionCode = managerToPermission.PermissionCode;
|
||
Id = managerToPermission.Id;
|
||
|
||
return this;
|
||
}
|
||
|
||
|
||
|
||
}
|
||
}
|