| | |
| | | public class Device { |
| | | |
| | | /** |
| | | * Id |
| | | */ |
| | | private int id; |
| | | |
| | | /** |
| | | * 设备Id |
| | | */ |
| | | private String deviceId; |
| | |
| | | * 更新时间 |
| | | */ |
| | | private String updateTime; |
| | | |
| | | /** |
| | | * 设备使用的媒体id, 默认为null |
| | | */ |
| | | private String mediaServerId; |
| | | |
| | | /** |
| | | * 首次注册 |
| | | */ |
| | | private boolean firsRegister; |
| | | |
| | | /** |
| | | * 字符集, 支持 utf-8 与 gb2312 |
| | | */ |
| | | private String charset ; |
| | | |
| | | /** |
| | | * 目录订阅周期,0为不订阅 |
| | | */ |
| | | private int subscribeCycleForCatalog ; |
| | | |
| | | public int getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(int id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getDeviceId() { |
| | | return deviceId; |
| | |
| | | public void setUpdateTime(String updateTime) { |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | public String getMediaServerId() { |
| | | return mediaServerId; |
| | | } |
| | | |
| | | public void setMediaServerId(String mediaServerId) { |
| | | this.mediaServerId = mediaServerId; |
| | | } |
| | | |
| | | public boolean isFirsRegister() { |
| | | return firsRegister; |
| | | } |
| | | |
| | | public void setFirsRegister(boolean firsRegister) { |
| | | this.firsRegister = firsRegister; |
| | | } |
| | | |
| | | public String getCharset() { |
| | | return charset; |
| | | } |
| | | |
| | | public void setCharset(String charset) { |
| | | this.charset = charset; |
| | | } |
| | | |
| | | public int getSubscribeCycleForCatalog() { |
| | | return subscribeCycleForCatalog; |
| | | } |
| | | |
| | | public void setSubscribeCycleForCatalog(int subscribeCycleForCatalog) { |
| | | this.subscribeCycleForCatalog = subscribeCycleForCatalog; |
| | | } |
| | | |
| | | |
| | | } |