package com.hongsoft.res.pojo;
/**
* 角色对象
*/
public class Role
{
private long id=0;
/**
* 角色名称
*/
private String name = null;
/**
* 角色描述
*/
private String description = null;
public Role()
{
}
public void setId(long id){
this.id=id;
}
public long getId(){
return this.id;
}
/**
* Access method for the name property.
*
* @return the current value of the name property
*/
public String getName()
{
return name;
}
/**
* Sets the value of the name property.
*
* @param aName the new value of the name property
*/
public void setName(String aName)
{
name = aName;
}
/**
* Access method for the description property.
*
* @return the current value of the description property
*/
public String getDescription()
{
return description;
}
/**
* Sets the value of the description property.
*
* @param aDescription the new value of the description property
*/
public void setDescription(String aDescription)
{
description = aDescription;
}
}