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

com.base4j.mvc.sys.entity.SysUserRole Maven / Gradle / Ivy

The newest version!
package com.base4j.mvc.sys.entity;

import com.base4j.mvc.base.entity.IPrepare;
import com.base4j.mybatis.config.mybatis.annotations.One2One;

import javax.persistence.Table;
import java.util.Date;

@Table(name = "SEED_SYS_USER_ROLE")
public class SysUserRole implements IPrepare {

    private static final long serialVersionUID = 4511028982475620265L;

    private Long id;
    private Date createDt;
    private Long createBy;
    private Date updateDt;
    private Long updateBy;
    private Long sysOrgId;
    private Long sysUserId;
    private Long sysRoleId;

    @One2One(columns = "sysRoleId = id")
    private SysRole sysRole;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateDt() {
        return createDt;
    }

    public void setCreateDt(Date createDt) {
        this.createDt = createDt;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateDt() {
        return updateDt;
    }

    public void setUpdateDt(Date updateDt) {
        this.updateDt = updateDt;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Long getSysOrgId() {
        return sysOrgId;
    }

    public void setSysOrgId(Long sysOrgId) {
        this.sysOrgId = sysOrgId;
    }

    public Long getSysUserId() {
        return sysUserId;
    }

    public void setSysUserId(Long sysUserId) {
        this.sysUserId = sysUserId;
    }

    public Long getSysRoleId() {
        return sysRoleId;
    }

    public void setSysRoleId(Long sysRoleId) {
        this.sysRoleId = sysRoleId;
    }

    public SysRole getSysRole() {
        return sysRole;
    }

    public void setSysRole(SysRole sysRole) {
        this.sysRole = sysRole;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy