using System.ComponentModel.DataAnnotations; namespace RobotNet.RobotShares.Models; public class RobotRotateModel { public string RobotId { get; set; } = string.Empty; [Range(-180, 180)] public double Angle { get; set; } }