引入lombok框架
优化redis存储结构
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package com.genersoft.iot.vmp.conf;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Data
|
||||
@Configuration("sipConfig")
|
||||
public class SipConfig {
|
||||
|
||||
@@ -20,51 +22,4 @@ public class SipConfig {
|
||||
@Value("${sip.ptz.speed:50}")
|
||||
Integer speed;
|
||||
|
||||
public String getSipIp() {
|
||||
return sipIp;
|
||||
}
|
||||
|
||||
public void setSipIp(String sipIp) {
|
||||
this.sipIp = sipIp;
|
||||
}
|
||||
|
||||
public Integer getSipPort() {
|
||||
return sipPort;
|
||||
}
|
||||
|
||||
public void setSipPort(Integer sipPort) {
|
||||
this.sipPort = sipPort;
|
||||
}
|
||||
|
||||
public String getSipDomain() {
|
||||
return sipDomain;
|
||||
}
|
||||
|
||||
public void setSipDomain(String sipDomain) {
|
||||
this.sipDomain = sipDomain;
|
||||
}
|
||||
|
||||
public String getSipPassword() {
|
||||
return sipPassword;
|
||||
}
|
||||
|
||||
public void setSipPassword(String sipPassword) {
|
||||
this.sipPassword = sipPassword;
|
||||
}
|
||||
|
||||
public Integer getSpeed() {
|
||||
return speed;
|
||||
}
|
||||
|
||||
public void setSpeed(Integer speed) {
|
||||
this.speed = speed;
|
||||
}
|
||||
|
||||
public String getSipId() {
|
||||
return sipId;
|
||||
}
|
||||
|
||||
public void setSipId(String sipId) {
|
||||
this.sipId = sipId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user