41 lines
680 B
C#
41 lines
680 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace brecal.model
|
|
{
|
|
public class Role : DbEntity
|
|
{
|
|
|
|
#region Properties
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? Description { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region overrides
|
|
|
|
public async override void Save(IDBManager manager)
|
|
{
|
|
|
|
}
|
|
|
|
public async override void Delete(IDBManager manager)
|
|
{
|
|
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return this.Name ?? $"{base.Id} - {this.GetType().Name}";
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|