com.tlgen.orm.domain.SysRole Maven / Gradle / Ivy
The newest version!
package com.tlgen.orm.domain;
import com.tlgen.orm.annotation.FieldName;
import com.tlgen.orm.annotation.Id;
import com.tlgen.orm.annotation.TableName;
@TableName(name = "sys_role")
public class SysRole {
@Id
private String id;
@FieldName(name = "role_name")
private String roleName;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getRoleName() {
return roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
public SysRole(String id, String roleName) {
this.id = id;
this.roleName = roleName;
}
public SysRole() {
}
@Override
public String toString() {
return "SysRole{" +
"id='" + id + '\'' +
", roleName='" + roleName + '\'' +
'}';
}
}