first commit -push
This commit is contained in:
22
RobotNet.MapShares/Dtos/ZoneDto.cs
Normal file
22
RobotNet.MapShares/Dtos/ZoneDto.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using RobotNet.MapShares.Enums;
|
||||
|
||||
namespace RobotNet.MapShares.Dtos;
|
||||
|
||||
public class ZoneDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid MapId { get; set; }
|
||||
public ZoneType Type { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public double X1 { get; set; }
|
||||
public double Y1 { get; set; }
|
||||
public double X2 { get; set; }
|
||||
public double Y2 { get; set; }
|
||||
public double X3 { get; set; }
|
||||
public double Y3 { get; set; }
|
||||
public double X4 { get; set; }
|
||||
public double Y4 { get; set; }
|
||||
}
|
||||
|
||||
public class ZoneCreateModel : ZoneDto { }
|
||||
public class ZoneUpdateModel : ZoneDto { }
|
||||
Reference in New Issue
Block a user