@@ -0,0 +1,953 @@
+package org.robbins.flashcards.dto;%0A%0Aimport java.io.Serializable;%0A%0Apublic class Tag implements Serializable %7B%0A%0A%09private static final long serialVersionUID = 3642775570292807703L;%0A%0A%09private Long id;%0A%09private String name;%0A%0A%09public Tag() %7B%0A%09%7D%0A%0A%09public Long getId() %7B%0A%09%09return id;%0A%09%7D%0A%0A%09public void setId(Long id) %7B%0A%09%09this.id = id;%0A%09%7D%0A%09%0A%09public Tag(Long id) %7B%0A%09%09setId(id);%0A%09%7D%0A%0A%09public Tag(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09public String getName() %7B%0A%09%09return this.name;%0A%09%7D%0A%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%09%0A%09/**%0A%09 * toString%0A%09 * %0A%09 * @return String%0A%09 */%0A%09public String toString() %7B%0A%09%09StringBuffer buffer = new StringBuffer();%0A%0A%09%09buffer.append(getClass().getName()).append(%22@%22)%0A%09%09%09%09.append(Integer.toHexString(hashCode())).append(%22 %5B%22);%0A%09%09buffer.append(%22id%22).append(%22='%22).append(getId()).append(%22' %22);%0A%09%09buffer.append(%22name%22).append(%22='%22).append(getName()).append(%22' %22);%0A%09%09buffer.append(%22%5D%22);%0A%0A%09%09return buffer.toString();%0A%09%7D%0A%7D

add Tag dto