All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tlgen.orm.domain.SysUserRole Maven / Gradle / Ivy

The newest version!
package com.tlgen.orm.domain;

import com.tlgen.orm.annotation.FieldName;
import com.tlgen.orm.annotation.MappingClass;
import com.tlgen.orm.annotation.TableName;

@TableName(name = "sys_user_role")
public class SysUserRole {

    @MappingClass(SysUser.class)
    @FieldName(name = "user_id")
    private String userId;

    @MappingClass(SysRole.class)
    @FieldName(name = "role_id")
    private String roleId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public SysUserRole(String userId, String roleId) {
        this.userId = userId;
        this.roleId = roleId;
    }

    public SysUserRole() {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy