mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
33 lines
711 B
Java
33 lines
711 B
Java
package com.commafeed.frontend.model;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import lombok.Data;
|
|
|
|
@SuppressWarnings("serial")
|
|
@ApiModel(description = "Server infos")
|
|
@Data
|
|
public class ServerInfo implements Serializable {
|
|
|
|
@ApiModelProperty
|
|
private String announcement;
|
|
|
|
@ApiModelProperty(required = true)
|
|
private String version;
|
|
|
|
@ApiModelProperty(required = true)
|
|
private String gitCommit;
|
|
|
|
@ApiModelProperty(required = true)
|
|
private boolean allowRegistrations;
|
|
|
|
@ApiModelProperty
|
|
private String googleAnalyticsCode;
|
|
|
|
@ApiModelProperty(required = true)
|
|
private boolean smtpEnabled;
|
|
|
|
}
|