package jj.tech.paolu.repository.mybatis.entity;

import jakarta.annotation.Generated;

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table yx..sys_role
 */
public class SysRole {
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.id")
    private String id;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.rolename")
    private String rolename;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.department")
    private String department;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.id")
    public String getId() {
        return id;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.id")
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.rolename")
    public String getRolename() {
        return rolename;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.rolename")
    public void setRolename(String rolename) {
        this.rolename = rolename == null ? null : rolename.trim();
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.department")
    public String getDepartment() {
        return department;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.department")
    public void setDepartment(String department) {
        this.department = department == null ? null : department.trim();
    }
}