package cn.skcks.matrix.v2.orm.mybatis.dynamic.model;

import javax.annotation.Generated;

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table role
 */
public class Role {
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.id")
    private Long id;

    /**
     * Database Column Remarks:
     *   角色
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.role")
    private String role;

    /**
     * Database Column Remarks:
     *   角色名
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.name")
    private String name;

    /**
     * Database Column Remarks:
     *   所属系统
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.system_id")
    private String systemId;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.active")
    private Boolean active;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.id")
    public Long getId() {
        return id;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.id")
    public void setId(Long id) {
        this.id = id;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.role")
    public String getRole() {
        return role;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.role")
    public void setRole(String role) {
        this.role = role == null ? null : role.trim();
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.name")
    public String getName() {
        return name;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.name")
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.system_id")
    public String getSystemId() {
        return systemId;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.system_id")
    public void setSystemId(String systemId) {
        this.systemId = systemId == null ? null : systemId.trim();
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.active")
    public Boolean getActive() {
        return active;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.active")
    public void setActive(Boolean active) {
        this.active = active;
    }
}
