<commit_before>﻿namespace Interapp.Web.Areas.Student.Models.DocumentViewModels
{
    using System.ComponentModel.DataAnnotations;
    using Common.Constants;
    using Data.Models;
    using Infrastructure.Mappings;
    using UniversityViewModels;

    public class DocumentViewModel : IMapFrom<Document>
    {
        public int Id { get; set; }

        [Required]
        [MinLength(ModelConstants.DocumentNameMinLength)]
        [MaxLength(ModelConstants.DocumentNameMaxLength)]
        public string Name { get; set; }

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

        public UniversityViewModel University { get; set; }
    }<commit_msg>Extended DocumentViewModel<commit_after>﻿namespace Interapp.Web.Areas.Student.Models.DocumentViewModels
{
    using System.ComponentModel.DataAnnotations;
    using Common.Constants;
    using Data.Models;
    using Infrastructure.Mappings;
    using UniversityViewModels;

    public class DocumentViewModel : IMapFrom<Document>
    {
        public int Id { get; set; }

        [Required]
        [MinLength(ModelConstants.DocumentNameMinLength)]
        [MaxLength(ModelConstants.DocumentNameMaxLength)]
        public string Name { get; set; }

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

        public UniversityViewModel University { get; set; }

        public int? UniversityId { get; set; }

        public string AuthorId { get; set; }
    }
{'fraction_non_alphanumeric': 0.08269631688672689, 'fraction_numerical': 0.0, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1093123', 'n_tokens_mistral': 384, 'n_tokens_neox': 366, 'n_words': 91}