feat(Entity): umbenennen in EntityBase

This commit is contained in:
tekh 2025-07-18 10:46:49 +02:00
parent 6f19c5d12a
commit 260ed13661
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace DigitalData.DEX.Domain.Entities; namespace DigitalData.DEX.Domain.Entities;
public abstract class Entity public abstract class EntityBase
{ {
[Key] [Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)] [DatabaseGenerated(DatabaseGeneratedOption.Identity)]

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace DigitalData.DEX.Domain.Entities; namespace DigitalData.DEX.Domain.Entities;
[Table("TBDEX_OUTPUT", Schema = "dbo")] [Table("TBDEX_OUTPUT", Schema = "dbo")]
public class Output : Entity public class Output : EntityBase
{ {
[Required] [Required]
[Column("PROFILE_ID", TypeName = "smallint")] [Column("PROFILE_ID", TypeName = "smallint")]

View File

@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace DigitalData.DEX.Domain.Entities; namespace DigitalData.DEX.Domain.Entities;
[Table("TBDEX_OUTPUT_REFERENCES", Schema = "dbo")] [Table("TBDEX_OUTPUT_REFERENCES", Schema = "dbo")]
public class OutputReferences : Entity public class OutputReferences : EntityBase
{ {
[Column("OUTPUT_ID", TypeName = "bigint")] [Column("OUTPUT_ID", TypeName = "bigint")]
public long OutputId { get; set; } public long OutputId { get; set; }