24 lines
483 B
C#
24 lines
483 B
C#
namespace WorkerService1.Domains;
|
|
|
|
public class Polygon
|
|
{
|
|
public Guid? PolygonId { get; set; }
|
|
public string Name { get; set; }
|
|
public string? UserId { get; set; }
|
|
public List<List<Points>>? Points { get; set; }
|
|
|
|
public List<string>? RangeCameras { get; set; } = new List<string>();
|
|
}
|
|
|
|
public struct Points
|
|
{
|
|
public Points(double x, double y)
|
|
{
|
|
X = x;
|
|
Y = y;
|
|
}
|
|
public double X { get; set; }
|
|
public double Y { get; set; }
|
|
}
|
|
|