package org.marsik.elshelves.api.entities;

import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.marsik.elshelves.api.ember.EmberModelName;
import org.marsik.elshelves.api.entities.idresolvers.AuthorizationIdResolver;

@EmberModelName("authorization")
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id", resolver = AuthorizationIdResolver.class)
@Data
@EqualsAndHashCode(of = {}, callSuper = true)
public class AuthorizationApiModel extends AbstractEntityApiModel {
    String name;
    String secret;
}

@@ -341,16 +341,40 @@
 olver;%0A%0A
+import java.util.UUID;%0A%0A
 @EmberMo
@@ -651,16 +651,130 @@
 Model %7B%0A
+    public AuthorizationApiModel(UUID id) %7B%0A        super(id);%0A    %7D%0A%0A    public AuthorizationApiModel() %7B%0A    %7D%0A%0A
     Stri

Add necessary constructors to AuthorizationApiModel