Refactor EnvelopeDocument class for clarity

Adjusted namespace and reformatted class attributes for consistency. Moved `[Table]`, `[Key]`, `[DatabaseGenerated]`, and `[Column]` attributes to align with properties. The `Elements` property was also repositioned to enhance class structure readability.
This commit is contained in:
Developer 02 2025-04-14 15:19:10 +02:00
parent d56aa1a778
commit 44aeb53413

View File

@ -2,8 +2,8 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EnvelopeGenerator.Domain.Entities
{
namespace EnvelopeGenerator.Domain.Entities;
[Table("TBSIG_ENVELOPE_DOCUMENT", Schema = "dbo")]
public class EnvelopeDocument : IUnique<int>
{
@ -25,4 +25,3 @@ namespace EnvelopeGenerator.Domain.Entities
public IEnumerable<DocumentReceiverElement>? Elements { get; set; }
}
}