38 lines
1.3 KiB
C#
38 lines
1.3 KiB
C#
namespace Gremlin_BlazorServer.Data.EntityClasses
|
|
{
|
|
public class CustomDescription : IMetadata
|
|
{
|
|
//primary key:
|
|
public uint CustomDescriptionId { get; set; }
|
|
|
|
//foreign keys:
|
|
//public uint ProductId { get; set; }
|
|
public uint AccountId { get; set; }
|
|
|
|
//navigation properties:
|
|
public IList<Product>? Products { get; set; }
|
|
public Account? Supplier { get; set; }
|
|
|
|
//class properties:
|
|
public string? ProductNumber { get; set; }
|
|
public string? OptionNumber { get; set; }
|
|
public string? Heading { get; set; }
|
|
public string? DescriptionText { get; set; }
|
|
public string? CoverletterText { get; set; }
|
|
public string? Notes { get; set; } //Hinweise, Tipps, Caveats, etc. für Konfiguration, Verwendung, Best Practice usw.
|
|
|
|
//Agilent-Specific properties:
|
|
//NONE
|
|
|
|
//metadata:
|
|
public DateTime DataCreationDate { get; set; } = DateTime.Now;
|
|
public DateTime DataModificationDate { get; set; } = DateTime.Now;
|
|
public DateTime DataValidFrom { get; set; } = DateTime.Now;
|
|
public DateTime DataValidUntil { get; set; } = DateTime.MaxValue;
|
|
public string DataModificationByUser { get; set; } = "Gremlin_BlazorServer";
|
|
public uint DataVersionNumber { get; set; }
|
|
public string? DataVersionComment { get; set; }
|
|
public string DataStatus { get; set; } = "Active";
|
|
}
|
|
}
|