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_admin_role
 */
public class SysAdminRole {
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.id")
    private String id;

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.role_id")
    private Integer role_id;

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_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.675184+08:00", comments="Source field: yx..sys_admin_role.admin_id")
    public String getAdmin_id() {
        return admin_id;
    }

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.role_id")
    public Integer getRole_id() {
        return role_id;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.role_id")
    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }
}