package io.github.saidie.plantuml_api;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Account {
    @Id
    @GeneratedValue
    private long id;

    @NotNull
    @Column(nullable = false)
    private String username;
}

@@ -499,11 +499,84 @@
 sername;
+%0A%0A    @NotNull%0A    @Column(nullable = false)%0A    private String password;
 %0A%7D%0A

Add password field to Account entity