mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-29 22:49:48 +08:00
代码格式化
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @TableName admin_role_permission
|
||||
*/
|
||||
@@ -35,8 +39,12 @@ public class AdminRolePermission implements Serializable {
|
||||
return false;
|
||||
}
|
||||
AdminRolePermission other = (AdminRolePermission) that;
|
||||
return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId()))
|
||||
&& (this.getPermId() == null ? other.getPermId() == null : this.getPermId().equals(other.getPermId()));
|
||||
return (this.getRoleId() == null
|
||||
? other.getRoleId() == null
|
||||
: this.getRoleId().equals(other.getRoleId()))
|
||||
&& (this.getPermId() == null
|
||||
? other.getPermId() == null
|
||||
: this.getPermId().equals(other.getPermId()));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -60,4 +68,4 @@ public class AdminRolePermission implements Serializable {
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user