add entity and controller for templates admin create
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package ru.soune.nocopy.adminpanel.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
public class AdminCreateTemplateRequest {
|
||||
|
||||
@JsonProperty("permissions")
|
||||
private Map<String, Integer> permissions;
|
||||
|
||||
@JsonProperty("change_password")
|
||||
private Boolean changePassword;
|
||||
|
||||
@JsonProperty("action")
|
||||
private String action;
|
||||
|
||||
@JsonProperty("id")
|
||||
private Long id;
|
||||
}
|
||||
Reference in New Issue
Block a user