<commit_before>﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BatteryCommander.Common.Models
{
    public class Soldier
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        [Required, StringLength(50)]
        public String LastName { get; set; }

        [Required, StringLength(50)]
        public String FirstName { get; set; }

        [Required]
        public Rank Rank { get; set; }

        [Required]
        public SoldierStatus Status { get; set; }

        // TODO Position - PL, FDO, Section Chief, etc.

        [Required]
        public MOS MOS { get; set; }

        [Required]
        public Boolean IsDutyMOSQualified { get; set; }

        [Required]
        public MilitaryEducationLevel EducationLevelCompleted { get; set; }

        [Required]
        public Group Group { get; set; }

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

        public virtual ICollection<SoldierQualification> Qualifications { get; set; }

        [StringLength(300)]
        public String Notes { get; set; }

        public Soldier()
        {
            this.Rank = Models.Rank.E1;
            this.Status = Models.SoldierStatus.Active;
            this.MOS = Models.MOS.Unknown;
            this.EducationLevelCompleted = MilitaryEducationLevel.None;
            this.Group = Models.Group.GhostGuns;

            this.Qualifications = new List<SoldierQualification>();
        }
    }
}<commit_msg>Add display properties for soldier properites<commit_after>﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BatteryCommander.Common.Models
{
    public class Soldier
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        [Required, StringLength(50)]
        [Display(Name = "Last Name")]
        public String LastName { get; set; }

        [Required, StringLength(50)]
        [Display(Name = "First Name")]
        public String FirstName { get; set; }

        [Required]
        public Rank Rank { get; set; }

        [Required]
        public SoldierStatus Status { get; set; }

        // TODO Position - PL, FDO, Section Chief, etc.

        [Required]
        public MOS MOS { get; set; }

        [Required]
        [Display(Name = "DMOSQ'd?")]
        public Boolean IsDutyMOSQualified { get; set; }

        [Required]
        [Display(Name = "Highest Military Ed")]
        public MilitaryEducationLevel EducationLevelCompleted { get; set; }

        [Required]
        public Group Group { get; set; }

        [DataType(DataType.Date)]
        [Display(Name = "ETS Date")]
        public DateTime? ETSDate { get; set; }

        public virtual ICollection<SoldierQualification> Qualifications { get; set; }

        [StringLength(300)]
        public String Notes { get; set; }

        public Soldier()
        {
            this.Rank = Models.Rank.E1;
            this.Status = Models.SoldierStatus.Active;
            this.MOS = Models.MOS.Unknown;
            this.EducationLevelCompleted = MilitaryEducationLevel.None;
            this.Group = Models.Group.GhostGuns;

            this.Qualifications = new List<SoldierQualification>();
        }
    }
}
{'fraction_non_alphanumeric': 0.09801667145731532, 'fraction_numerical': 0.004599022707674619, 'mean_word_length': 2.2645403377110696, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '810877', 'n_tokens_mistral': 984, 'n_tokens_neox': 925, 'n_words': 240}