<commit_before>﻿namespace OdeToFood.Entities
{
    public enum CuisineType
    {
        None,
        Italian,
        Franch,
        Japanese,
        American
    }

    public class Restaurant
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public CuisineType Cuisine { get; set; }
    }
}<commit_msg>Update Restaurant entity<commit_after>﻿using System.ComponentModel.DataAnnotations;

namespace OdeToFood.Entities
{
    public enum CuisineType
    {
        None,
        Italian,
        Franch,
        Japanese,
        American
    }

    public class Restaurant
    {
        public int Id { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "Please enter a name for the restaurant")]
        [MaxLength(80)]
        [Display(Name = "Restaurant Name")]
        public string Name { get; set; }

        public CuisineType Cuisine { get; set; }
    }
}
{'fraction_non_alphanumeric': 0.08279569892473118, 'fraction_numerical': 0.002150537634408602, 'mean_word_length': 1.9935691318327975, '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': '7566402', 'n_tokens_mistral': 270, 'n_tokens_neox': 258, 'n_words': 74}