<commit_before>﻿namespace TownSystem.Models
{
    using System;
    using System.ComponentModel.DataAnnotations;

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

        [Required]
        [MinLength(4)]
        [MaxLength(100)]
        public string Content { get; set; }

        [Required]
        public DateTime TimePosted { get; set; }

        public bool IsDeleted { get; set; }

        public virtual int? PostId { get; set; }

        public virtual Post Post { get; set; }
    }
}<commit_msg>added user and UserId to Comments db model<commit_after>﻿namespace TownSystem.Models
{
    using System;
    using System.ComponentModel.DataAnnotations;

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

        [Required]
        [MinLength(4)]
        [MaxLength(100)]
        public string Content { get; set; }

        [Required]
        public DateTime TimePosted { get; set; }

        public bool IsDeleted { get; set; }

         public int UserId { get; set; }

        public virtual User User { get; set; }

        public virtual int? PostId { get; set; }

        public virtual Post Post { get; set; }
    }
}
{'fraction_non_alphanumeric': 0.09254498714652956, 'fraction_numerical': 0.006855184233076264, 'mean_word_length': 2.0736842105263156, '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': '4138090', 'n_tokens_mistral': 339, 'n_tokens_neox': 321, 'n_words': 108}