feat: Entfernen der EcmFkId-Eigenschaft aus GroupCreateDto und dem Formular zur Gruppenerstellung
- `EcmFkId`-Eigenschaft aus dem `GroupCreateDto` im Backend entfernt. - Anpassungen im Frontend vorgenommen, um das `EcmFkId`-Feld im Formular zur Gruppenerstellung zu entfernen. - `EcmFkId` wird im Entity standardmäßig auf `-1` gesetzt.
This commit is contained in:
@@ -26,9 +26,10 @@ namespace DigitalData.UserManager.Domain.Entities
|
||||
[StringLength(200)]
|
||||
public string? Comment { get; set; }
|
||||
|
||||
// TODO: this column should be assigned by triggers. despite this it is not null and this is problem for creation. talk with others
|
||||
[Required]
|
||||
[Column("ECM_FK_ID")]
|
||||
[DefaultValue(0)]
|
||||
public int EcmFkId { get; set; }
|
||||
[DefaultValue(-1)]
|
||||
public int EcmFkId { get; init; } = -1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user