<commit_before>namespace KarateIsere.DataAccess
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;
    using System.Text.RegularExpressions;
    using Newtonsoft.Json;

    [Table("Club")]
    public partial class Club
    {
        private string facebook;

        private string siteWeb;

        private int art_MartialID = 1;
        public Club()
        {
            Competiteur = new HashSet<Competiteur>();
            ListeCompetiteur = new HashSet<ListeCompetiteur>();
            Professeurs = new HashSet<Professeurs>();
            Adherents = new HashSet<Adherents>();
            Notifications = new HashSet<NotificationEmail>();
        }

        [Key] 
        [StringLength(50)]
        public string NumAffiliation { get; set; }
       
        [Required]
        [StringLength(100)]
        public string NomClub { get; set; }

        [StringLength(50)]
        [Description("Email de contact")]
        public string Correspondant { get; set; }

        [StringLength(50)]
        public string Telephone { get; set; }

        [StringLength(500)]
        [DisplayName("Adresse postale")]
        public string Adr_Administrative { get; set; }

        [StringLength(500)]
        [DisplayName( "Adresse du dojo" )]
        public string Adr_Dojo { get; set; }

        [StringLength(50)]
        [DisplayName( "Code postal" )]
        public string Code_Postal { get; set; }

        [StringLength(50)]
        public string Ville { get; set; }

        [StringLength(100)]
        [DisplayName( "Site web" )]
        public string Site_Web {
            get {
                return siteWeb;
            }

            set {
                if (value.Contains("http")) {
                    siteWeb = value;
                }
                else if (value.Contains("https")) {
                    siteWeb = value;
                }
                else {
                    siteWeb = value;
                }
            }
        }

        [StringLength(100)]
        public string Facebook {
            get {
                return facebook;
            }

            set {
                if (value.Contains("http")) {
                    facebook = value;
                }
                else if (value.Contains("https")) {
                    facebook = value;
                }
                else {
                    facebook = value;
                }
            }
        }

        [StringLength(10)]
        [DisplayName( "Tl. fixe" )]
        public string President_Tel { get; set; }

        [StringLength(50)]
        [DisplayName( "Nom" )]
        public string President_Nom { get; set; }

        [StringLength(50)]
        [DisplayName( "Prnom" )]
        public string President_Prenom { get; set; }

        [StringLength(100)]
        [DisplayName( "Email" )]
        public string President_Email { get; set; }

        [StringLength(10)]
        [DisplayName( "Tl. mobile" )]
        public string President_Mobile { get; set; }

        [StringLength(10)]
        [DisplayName( "Tl. fixe" )]
        public string Tresorier_Tel { get; set; }

        [StringLength(50)]
        [DisplayName( "Nom" )]
        public string Tresorier_Nom { get; set; }

        [StringLength(50)]
        [DisplayName( "Prnom" )]
        public string Tresorier_Prenom { get; set; }

        [StringLength(100)]
        [DisplayName( "Email" )]
        public string Tresorier_Email { get; set; }

        [StringLength(10)]
        [DisplayName( "Tl. mobile" )]
        public string Tresorier_Mobile { get; set; }

        [StringLength(10)]
        [DisplayName( "Tl. fixe" )]
        public string Secretaire_Tel { get; set; }

        [StringLength(50)]
        [DisplayName( "Nom" )]
        public string Secretaire_Nom { get; set; }

        [StringLength(50)]
        [DisplayName( "Prnom" )]
        public string Secretaire_Prenom { get; set; }

        [StringLength(100)]
        [DisplayName( "Email" )]
        public string Secretaire_Email { get; set; }

        [StringLength(10)]
        [DisplayName( "Tl. mobile" )]
        public string Secretaire_Mobile { get; set; }

        [DisplayName( "Art martial" )]
        public virtual int Art_MartialID {
            get {
                return art_MartialID;
            }

            set {
                art_MartialID = value;
            } 
        }

        public Double? Longitude { get; set; }

        public Double? Latitude {
            get;
            set;
        }
     
         [JsonIgnore]
        public virtual Art_Martial Art_Martial { get; set; }

         [JsonIgnore]
        public virtual ICollection<Competiteur> Competiteur { get; set; }
<commit_msg>Bug Fix on club<commit_after>namespace KarateIsere.DataAccess {
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;
    using System.Text.RegularExpressions;
    using Newtonsoft.Json;

    [Table("Club")]
    public partial class Club {
        private string facebook;

        private string siteWeb;

        private int art_MartialID = 1;
        public Club() {
            Competiteur = new HashSet<Competiteur>();
            ListeCompetiteur = new HashSet<ListeCompetiteur>();
            Professeurs = new HashSet<Professeurs>();
            Adherents = new HashSet<Adherents>();
            Notifications = new HashSet<NotificationEmail>();
        }

        [Key]
        [StringLength(50)]
        public string NumAffiliation { get; set; }

        [Required]
        [StringLength(100)]
        public string NomClub { get; set; }

        [StringLength(50)]
        [Description("Email de contact")]
        public string Correspondant { get; set; }

        [StringLength(50)]
        public string Telephone { get; set; }

        [StringLength(500)]
        [DisplayName("Adresse postale")]
        public string Adr_Administrative { get; set; }

        [StringLength(500)]
        [DisplayName("Adresse du dojo")]
        public string Adr_Dojo { get; set; }

        [StringLength(50)]
        [DisplayName("Code postal")]
        public string Code_Postal { get; set; }

        [StringLength(50)]
        public string Ville { get; set; }

        [StringLength(100)]
        [DisplayName("Site web")]
        public string Site_Web {
            get {
                return siteWeb;
            }

            set {
                if (value != null) {
                    if (value.Contains("http")) {
                        siteWeb = value;
                    }
                    else if (value.Contains("https")) {
                        siteWeb = value;
                    }
                    else {
                        siteWeb = value;
                    }
                }
            }
        }

        [StringLength(100)]
        public string Facebook {
            get {
                return facebook;
            }

            set {
                if (value != null) {
                    if (value.Contains("http")) {
                        facebook = value;
                    }
                    else if (value.Contains("https")) {
                        facebook = value;
                    }
                    else {
                        facebook = value;
                    }
                }
            }
        }

        [StringLength(10)]
        [DisplayName("Tl. fixe")]
        public string President_Tel { get; set; }

        [StringLength(50)]
        [DisplayName("Nom")]
        public string President_Nom { get; set; }

        [StringLength(50)]
        [DisplayName("Prnom")]
        public string President_Prenom { get; set; }

        [StringLength(100)]
        [DisplayName("Email")]
        public string President_Email { get; set; }

        [StringLength(10)]
        [DisplayName("Tl. mobile")]
        public string President_Mobile { get; set; }

        [StringLength(10)]
        [DisplayName("Tl. fixe")]
        public string Tresorier_Tel { get; set; }

        [StringLength(50)]
        [DisplayName("Nom")]
        public string Tresorier_Nom { get; set; }

        [StringLength(50)]
        [DisplayName("Prnom")]
        public string Tresorier_Prenom { get; set; }

        [StringLength(100)]
        [DisplayName("Email")]
        public string Tresorier_Email { get; set; }

        [StringLength(10)]
        [DisplayName("Tl. mobile")]
        public string Tresorier_Mobile { get; set; }

        [StringLength(10)]
        [DisplayName("Tl. fixe")]
        public string Secretaire_Tel { get; set; }

        [StringLength(50)]
        [DisplayName("Nom")]
        public string Secretaire_Nom { get; set; }

        [StringLength(50)]
        [DisplayName("Prnom")]
        public string Secretaire_Prenom { get; set; }

        [StringLength(100)]
        [DisplayName("Email")]
        public string Secretaire_Email { get; set; }

        [StringLength(10)]
        [DisplayName("Tl. mobile")]
        public string Secretaire_Mobile { get; set; }

        [DisplayName("Art martial")]
        public virtual int Art_MartialID {
            get {
                return art_MartialID;
            }

            set {
                art_MartialID = value;
            }
        }

        public Double? Longitude { get; set; }

        public Double? Latitude {
            get;
            set;
        }

        [JsonIgnore]
        [DisplayName("Art martial")]
        public virtual Art_Martial Art_Martial { get; set; }

        [JsonIgnore]
        public virtual ICollection<Competiteur> Competiteur { get; set; }

{'fraction_non_alphanumeric': 0.10247100353000504, 'fraction_numerical': 0.011901159858799798, 'mean_word_length': 1.5675815639564992, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4316039', 'n_tokens_mistral': 2869, 'n_tokens_neox': 2638, 'n_words': 628}