refactor(DocumentReceiverElement): Aktualisiert zur Aufnahme von Common.Entities.DocumentReceiverElement
This commit is contained in:
@@ -10,10 +10,11 @@ namespace EnvelopeGenerator.Domain.Entities
|
||||
[Table("TBSIG_DOCUMENT_RECEIVER_ELEMENT", Schema = "dbo")]
|
||||
public class DocumentReceiverElement
|
||||
{
|
||||
// TODO: * Check the Form App and remove the default value
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
[Column("GUID")]
|
||||
public int Id { get; set; }
|
||||
public int Id { get; set; } = -1;
|
||||
|
||||
[Required]
|
||||
[Column("DOCUMENT_ID")]
|
||||
@@ -53,23 +54,26 @@ namespace EnvelopeGenerator.Domain.Entities
|
||||
[DefaultValue(1)]
|
||||
public int Page { get; set; }
|
||||
|
||||
// TODO: * Check the Form App and remove the default value
|
||||
[Required]
|
||||
[Column("REQUIRED")]
|
||||
[DefaultValue(false)]
|
||||
public bool Required { get; set; }
|
||||
public bool Required { get; set; } = false;
|
||||
|
||||
[Column("TOOLTIP")]
|
||||
public string Tooltip { get; set; }
|
||||
|
||||
// TODO: * Check the Form App and remove the default value
|
||||
[Required]
|
||||
[Column("READ_ONLY")]
|
||||
[DefaultValue(false)]
|
||||
public bool ReadOnly { get; set; }
|
||||
public bool ReadOnly { get; set; } = false;
|
||||
|
||||
// TODO: * Check the Form App and remove the default value
|
||||
[Required]
|
||||
[Column("ANNOTATION_INDEX")]
|
||||
[DefaultValue(0)]
|
||||
public int AnnotationIndex { get; set; }
|
||||
public int AnnotationIndex { get; set; } = 0;
|
||||
|
||||
[Required]
|
||||
[Column("ADDED_WHEN", TypeName = "datetime")]
|
||||
|
||||
Reference in New Issue
Block a user