<commit_before>package org.apereo.cas.webauthn;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;
import org.springframework.data.annotation.Id;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Lob;
import javax.persistence.SequenceGenerator;
import java.io.Serializable;

/**
 * This is {@link JpaWebAuthnCredentialRegistration}.
 *
 * @author <NAME>
 * @since 6.3.0
 */
@Getter
@Setter
@SuperBuilder
@Entity
@Accessors(chain = true)
public class JpaWebAuthnCredentialRegistration implements Serializable {
    private static final long serialVersionUID = 1505204109111619367L;

    @Id
    @Builder.Default
    @JsonProperty("id")
    @javax.persistence.Id
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "webauthn_sequence")
    @SequenceGenerator(name = "webauthn_sequence", allocationSize = 100)
    private long id;

    @Column(nullable = false, unique = true)
    private String username;

    @Lob
    @Column(name = "records", length = Integer.MAX_VALUE)
    private String records;

    public JpaWebAuthnCredentialRegistration() {<commit_msg>add tests<commit_after>package org.apereo.cas.webauthn;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;
import org.springframework.data.annotation.Id;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Lob;
import javax.persistence.SequenceGenerator;
import java.io.Serializable;

/**
 * This is {@link JpaWebAuthnCredentialRegistration}.
 *
 * @author <NAME>
 * @since 6.3.0
 */
@Getter
@Setter
@SuperBuilder
@Entity
@Accessors(chain = true)
public class JpaWebAuthnCredentialRegistration implements Serializable {
    private static final long serialVersionUID = 1505204109111619367L;

    @Id
    @JsonProperty("id")
    @javax.persistence.Id
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "webauthn_sequence")
    @SequenceGenerator(name = "webauthn_sequence", allocationSize = 100)
    private long id;

    @Column(nullable = false, unique = true)
    private String username;

    @Lob
    @Column(name = "records", length = Integer.MAX_VALUE)
    private String records;

    public JpaWebAuthnCredentialRegistration() {
{'fraction_non_alphanumeric': 0.09682299546142209, 'fraction_numerical': 0.018910741301059002, 'mean_word_length': 5.2826603325415675, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3027168', 'n_tokens_mistral': 814, 'n_tokens_neox': 781, 'n_words': 172}