first commit -push
This commit is contained in:
31
RobotNet.MapShares/Dtos/ElementModelDto.cs
Normal file
31
RobotNet.MapShares/Dtos/ElementModelDto.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
namespace RobotNet.MapShares.Dtos;
|
||||
|
||||
#nullable disable
|
||||
|
||||
public class ElementModelDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid MapId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public double Width { get; set; }
|
||||
public double Height { get; set; }
|
||||
public int Image1Width { get; set; }
|
||||
public int Image1Height { get; set; }
|
||||
public int Image2Width { get; set; }
|
||||
public int Image2Height { get; set; }
|
||||
public string Content { get; set; }
|
||||
}
|
||||
|
||||
public class ElementModelCreateModel
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public Guid MapId { get; set; }
|
||||
public double Width { get; set; }
|
||||
public double Height { get; set; }
|
||||
}
|
||||
|
||||
public class ElementModelUpdateModel : ElementModelCreateModel
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Content { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user