日期:2014-05-17 浏览次数:20787 次
package com.xingao.entity;
import java.util.HashSet;
import java.util.Set;
/**
* T_role entity. @author MyEclipse Persistence Tools
*/
public class T_role implements java.io.Serializable {
// Fields
private Integer id;
private W_user w_user;
private T_template t_template;
private String name;
private String duty;
private String description;
private Integer type;
private Set<T_node_role> t_node_roles = new HashSet<T_node_role>();
// Constructors
/** default constructor */
public T_role() {
}
/** minimal constructor */
public T_role(T_template t_template, String name) {
this.t_template = t_template;
this.name = name;
}
/** full constructor */
public T_role(W_user w_user, T_template t_template, String name, String duty, String description, Integer type, Set<T_node_role> t_node_roles) {
this.w_user = w_user;
this.t_template = t_template;
this.name = name;
this.duty = duty;
this.description = description;
this.type = type;
this.t_node_roles = t_node_roles;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public W_user getW_user() {
retu