29 lines
830 B
C#
29 lines
830 B
C#
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
|
|
}
|