Created
November 6, 2020 19:44
-
-
Save JIOO-phoeNIX/8f7997d683cc1611d380d08a99925fc6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ComponentModel.DataAnnotations; | |
namespace BlazorWithML.NET.Model | |
{ | |
public class BikeForcastInput | |
{ | |
[Required(ErrorMessage = "Number of years to predict is required.")] | |
[Range(minimum: 1, maximum: 500, ErrorMessage = "Range of values allowed are 1 - 500")] | |
public int numberOfDaysToPredict { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment