package com.xhkjedu.suser.model.system;

import com.xhkjedu.model.BaseBean;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "t_user_role")
@Data
public class TUserRole extends BaseBean {
    //用户角色表
    @Id
    private Integer urid;

    //用户id
    private Integer userid;

    //角色id
    private Integer roleid;

    //创建人id
    private Integer createid;

    //创建时间
    private Integer createtime;

    //用户姓名
    @Transient
    private String username;

    //模块归属码1网页2app
    @Transient
    private Integer belongcode;
}
