package org.apereo.cas.adaptors.yubikey;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.SuperBuilder;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import java.util.ArrayList;

/**
 * This is {@link JpaYubiKeyAccount}.
 *
 * @author Misagh Moayyed
 * @since 6.2.0
 */
@Getter
@Entity
@Setter
@Table(name = "YubiKeyAccount")
@SuperBuilder
public class JpaYubiKeyAccount extends YubiKeyAccount {
    private static final long serialVersionUID = 8996204730235225057L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "native")
    @GenericGenerator(name = "native", strategy = "native")
    private long id = -1;

    public JpaYubiKeyAccount() {
        this.id = System.currentTimeMillis();
    }

    public JpaYubiKeyAccount(final long id,
                             final ArrayList<String> deviceIdentifiers,
                             final String username) {
        super(id, deviceIdentifiers, username);
        this.id = id;
    }
}

@@ -35,16 +35,39 @@
 bikey;%0A%0A
+import lombok.Builder;%0A
 import l
@@ -828,24 +828,45 @@
 = %22native%22)%0A
+    @Builder.Default%0A
     private 

fix build