Aktualisiert, um EnvelopeReceiverDto anstelle von EnvelopeResponse zu verwenden
This commit is contained in:
@@ -28,12 +28,12 @@ namespace EnvelopeGenerator.Domain.Entities
|
||||
[Required]
|
||||
[Column("POSITION_X")]
|
||||
[DefaultValue(0)]
|
||||
public double PositionX { get; set; }
|
||||
public double X { get; set; }
|
||||
|
||||
[Required]
|
||||
[Column("POSITION_Y")]
|
||||
[DefaultValue(0)]
|
||||
public double PositionY { get; set; }
|
||||
public double Y { get; set; }
|
||||
|
||||
[Required]
|
||||
[Column("WIDTH")]
|
||||
@@ -83,9 +83,9 @@ namespace EnvelopeGenerator.Domain.Entities
|
||||
public virtual Receiver? Receiver { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public double Top => Math.Round(PositionY, 5);
|
||||
public double Top => Math.Round(Y, 5);
|
||||
|
||||
[NotMapped]
|
||||
public double Left => Math.Round(PositionX, 5);
|
||||
public double Left => Math.Round(X, 5);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user