Add Master Data
This commit is contained in:
25
AMREZ.EOP.Domain/Entities/Common/MasterBase.cs
Normal file
25
AMREZ.EOP.Domain/Entities/Common/MasterBase.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using AMREZ.EOP.Domain.Entities.Common;
|
||||
|
||||
namespace AMREZ.EOP.Domain.Entities.MasterData;
|
||||
|
||||
public abstract class MasterBase : BaseEntity
|
||||
{
|
||||
|
||||
public string Scope { get; set; } = "global";
|
||||
|
||||
public string Code { get; set; } = null!;
|
||||
public string Name { get; set; } = null!;
|
||||
public Dictionary<string, string>? NameI18n { get; set; }
|
||||
|
||||
public Guid? OverridesGlobalId { get; set; }
|
||||
|
||||
public bool IsActive { get; set; } = true;
|
||||
public bool IsSystem { get; set; } = false;
|
||||
|
||||
public Dictionary<string, object>? Meta { get; set; }
|
||||
}
|
||||
|
||||
public abstract class MasterBlockBase : BaseEntity
|
||||
{
|
||||
public Guid GlobalId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user