|
|
|
@ -17,6 +17,7 @@ package org.thingsboard.server.common.data.id; |
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonCreator; |
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import org.thingsboard.server.common.data.EntityType; |
|
|
|
|
|
|
|
import java.util.UUID; |
|
|
|
@ -28,6 +29,7 @@ public class NotificationTemplateId extends UUIDBased implements EntityId { |
|
|
|
super(id); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiModelProperty(position = 2, required = true, value = "string", example = "NOTIFICATION_TEMPLATE", allowableValues = "NOTIFICATION_TEMPLATE") |
|
|
|
@Override |
|
|
|
public EntityType getEntityType() { |
|
|
|
return EntityType.NOTIFICATION_TEMPLATE; |
|
|
|
|