<commit_before>package com.imcode.imcms.persistence.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Entity
@Table(name = "imcms_languages")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Language implements Serializable, Cloneable {

    private static final long serialVersionUID = -7712182762931242124L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    @NotNull
    @Column(nullable = false)
    private String code;

    @NotNull
    @Column(nullable = false)
    private String name;

    @Column(name = "native_name")<commit_msg>IMCMS-233 - Upgrade server side to work with new client: - Added comment for language code field to know which ISO is it.<commit_after>package com.imcode.imcms.persistence.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Entity
@Table(name = "imcms_languages")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Language implements Serializable, Cloneable {

    private static final long serialVersionUID = -7712182762931242124L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * Two-letter ISO-639-1 code, like "en" or "sv"
     */
    @NotNull
    @Column(nullable = false)
    private String code;

    @NotNull
    @Column(nullable = false)
    private String name;

    @Column(name = "native_name")
{'fraction_non_alphanumeric': 0.08965102286401926, 'fraction_numerical': 0.02707581227436823, 'mean_word_length': 4.39935064935065, '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': '3834191', 'n_tokens_mistral': 527, 'n_tokens_neox': 492, 'n_words': 130}