<commit_before>﻿using CarModsHeaven.Data.Models.Contracts;
using System;

namespace CarModsHeaven.Data.Models.Abstracts
{
    public abstract class BaseDataModel : IDeletable, IAuditable
    {
        public bool IsDeleted { get; set; }
        public DateTime? DeletedOn { get; set; }
        public DateTime CreatedOn { get; set; }
        public DateTime? ModifiedOn { get; set; }
    }
}<commit_msg>add data annotations to baseDataModel<commit_after>﻿using CarModsHeaven.Data.Models.Contracts;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace CarModsHeaven.Data.Models.Abstracts
{
    public abstract class BaseDataModel : IDeletable, IAuditable
    {
        public Guid Id { get; set; }

        [Index]
        public bool IsDeleted { get; set; }

        [DataType(DataType.DateTime)]
        public DateTime CreatedOn { get; set; }

        [DataType(DataType.DateTime)]
        public DateTime? ModifiedOn { get; set; }

        [DataType(DataType.DateTime)]
        public DateTime? DeletedOn { get; set; }
    }
}
{'fraction_non_alphanumeric': 0.09107468123861566, 'fraction_numerical': 0.0, 'mean_word_length': 3.1946564885496183, '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': '1893992', 'n_tokens_mistral': 320, 'n_tokens_neox': 320, 'n_words': 81}