35 lines
999 B
C#
35 lines
999 B
C#
|
|
using _0_Framework.Domain;
|
|
using AccountManagement.Domain.SubAccountPermissionSubtitle2Agg;
|
|
using AccountManagement.Domain.SubAccountPermissionSubtitle4Agg;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AccountManagement.Domain.SubAccountPermissionSubtitle3Agg
|
|
{
|
|
public class SubAccountPermissionSubtitle3 : EntityBase
|
|
{
|
|
public string Title { get; private set; }
|
|
public int Code { get; private set; }
|
|
|
|
|
|
public SubAccountPermissionSubtitle2 Parent { get; private set; }
|
|
public long ParentId { get; private set; }
|
|
|
|
|
|
public List<SubAccountPermissionSubtitle4> Children { get; } = [];
|
|
|
|
public SubAccountPermissionSubtitle3(string title, int code, long parentId)
|
|
{
|
|
Title = title;
|
|
Code = code;
|
|
ParentId = parentId;
|
|
}
|
|
public void Edit(string title, int code, long parentId)
|
|
{
|
|
Title = title;
|
|
Code = code;
|
|
ParentId = parentId;
|
|
}
|
|
}
|
|
}
|