<commit_before>﻿using System.ComponentModel.DataAnnotations;

namespace RaLibrary.Models
{
    public class Book
    {
        public int Id { get; set; }

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

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

        public string Borrower { get; set; }
    }
}<commit_msg>add max length restriction<commit_after>﻿using System.ComponentModel.DataAnnotations;

namespace RaLibrary.Models
{
    public class Book
    {
        public int Id { get; set; }

        [Required]
        [MaxLength(50)]
        public string Code { get; set; }

        [Required]
        [MaxLength(200)]
        public string Title { get; set; }

        [MaxLength(50)]
        public string Borrower { get; set; }
    }
}
{'fraction_non_alphanumeric': 0.09844559585492228, 'fraction_numerical': 0.009067357512953367, 'mean_word_length': 2.1551020408163266, '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': '5142785', 'n_tokens_mistral': 230, 'n_tokens_neox': 220, 'n_words': 64}