Files
juipnet/Services/Hncore.Pass.Manage/Response/CreateOrEditManagerToResponse.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

46 lines
1021 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;
}
}
}