/* * @(#)Role.java 2012-9-4 下午23:59:06 * * Copyright (c) 2011-2012 Makersoft.org all rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * */ package org.makersoft.shards.domain.shard1; import org.makersoft.shards.domain.AbstractShardEntity; /** * entity role for test. */ public class Role extends AbstractShardEntity { private static final long serialVersionUID = 2960427786748550511L; private String name; private String code; public Role() { } public Role(String name, String code) { this.name = name; this.code = code; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } }