
package com.alibaba.dubbo.registry.common.domain;

/**
 *
 * @author william.liangf
 */
public class Access extends Entity {

    private static final long serialVersionUID = -962351722638094446L;

    private String service;      /*服务名*/

    private String address;  /*消费者地址*/

    private boolean allow;           /*状态*/

    private String username;         /*用户名*/

    public Access() {
    }

    public Access(Long id) {
        super(id);
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public boolean isAllow() {
        return allow;
    }

    public void setAllow(boolean allow) {
        this.allow = allow;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

}
