using System.ComponentModel.DataAnnotations;
namespace MuiCharts.Domain.Models;
///
/// Represents a point with an ID, name, and height.
///
public class Point
{
///
/// Gets or sets the ID of the point.
///
public required int Id { get; init; }
///
/// Gets or sets the name of the point.
///
[MinLength(1)]
public required string Name { get; init; }
///
/// Gets or sets the height of the point.
///
public required int Height { get; init; }
}