Files
juipnet/Services/Hncore.Pass.Manage/Response/CreateOrEditManagerToResponse.cs
“wanyongkang” b562aba2b1 忽略dll文件git
2023-07-29 10:19:42 +08:00

46 lines
976 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;
}
}
}