Update to latest packages and show examples

This commit is contained in:
2026-07-05 22:05:53 +02:00
parent 3a36978997
commit c7ddc282ed
52 changed files with 2156 additions and 21 deletions
@@ -0,0 +1,28 @@
using GerstITS.Data;
namespace GerstITS.Examples.Data.Entities;
public sealed class CustomerEntity : EntityBase<int>, IActivatable, IReadOnlyActivatable, ICreatable, IReadOnlyCreatable, IModifiable, IReadOnlyModifiable, IVersionable, IReadOnlyVersionable
{
#region Properties
public string FirstName { get; set; }
public string LastName { get; set; }
public string EMail { get; set; }
public bool IsActive { get; set; }
public DateTime? Deactivated { get; set; }
public string DeactivatedBy { get; set; }
public DateTime Created { get; set; }
public string CreatedBy { get; set; }
public DateTime? Modified { get; set; }
public string ModifiedBy { get; set; }
public int Version { get; set; }
public ICollection<CustomerNoteEntity> Notes { get; set; }
#endregion
}
@@ -0,0 +1,19 @@
using GerstITS.Data;
namespace GerstITS.Examples.Data.Entities;
public sealed class CustomerNoteEntity : EntityBase<int>, ICreatable, IReadOnlyCreatable, IHistoricizable, IReadOnlyHistoricizable
{
#region Properties
public int CustomerId { get; set; }
public string Text { get; set; }
public DateTime Created { get; set; }
public string CreatedBy { get; set; }
public string HistorySet { get; set; }
public DateTime ValidFrom { get; set; }
#endregion
}