26 lines
709 B
C#
26 lines
709 B
C#
using _0_Framework.Domain;
|
|
using AccountManagement.Domain.SubAccountPermissionSubtitle2Agg;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AccountManagement.Domain.SubAccountPermissionSubtitle1Agg
|
|
{
|
|
public class SubAccountPermissionSubtitle1 : EntityBase
|
|
{
|
|
public string Title { get; private set; }
|
|
public int Code { get; private set; }
|
|
|
|
public List<SubAccountPermissionSubtitle2> Children { get; } = [];
|
|
|
|
public SubAccountPermissionSubtitle1(string title, int code)
|
|
{
|
|
Title = title;
|
|
Code = code;
|
|
}
|
|
public void Edit(string title, int code)
|
|
{
|
|
Title = title;
|
|
Code = code;
|
|
}
|
|
}
|
|
}
|