<commit_before>﻿using System.ComponentModel.DataAnnotations;
using Mollie.Api.Models.Payment.Request;

namespace Mollie.WebApplicationCoreExample.Models {
    public class CreatePaymentModel {
        [Required]
        public decimal Amount { get; set; }

        [Required]
        public string Currency { get; set; }

        [Required]
        public string Description { get; set; }
    }
}<commit_msg>Added a range validator for payment Amount on the create page<commit_after>﻿using System.ComponentModel.DataAnnotations;

namespace Mollie.WebApplicationCoreExample.Models {
    public class CreatePaymentModel {
        [Required]
        [Range(0.01, 1000, ErrorMessage = "Please enter a number between 0.01 and 1000")]
        public decimal Amount { get; set; }

        [Required]
        public string Currency { get; set; }

        [Required]
        public string Description { get; set; }
    }
}
{'fraction_non_alphanumeric': 0.08543263964950712, 'fraction_numerical': 0.01533406352683461, 'mean_word_length': 2.92274678111588, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5136781', 'n_tokens_mistral': 258, 'n_tokens_neox': 243, 'n_words': 73}