/** * Project: dubbo.registry.server-1.1.0-SNAPSHOT * * File Created at 2010-6-29 * * Copyright 1999-2010 Alibaba.com Croporation Limited. * All rights reserved. * * This software is the confidential and proprietary information of * Alibaba Company. ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it only in * accordance with the terms of the license agreement you entered into * with Alibaba.com. */ package com.alibaba.dubbo.registry.common.domain; /** * Document * * @author william.liangf */ public class Document extends Entity { private static final long serialVersionUID = 5059135057592486874L; public static final String EXTERNAL_TYPE = "E"; public static final String INTERNAL_TYPE = "I"; public static final String API_TYPE = "A"; private String service; private String title; private String type; private String content; private String username; public Document() { } public Document(Long id) { super(id); } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getService() { return service; } public void setService(String service) { this.service = service; } }