win.doyto.query.test.role.RoleView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of doyto-query-test Show documentation
Show all versions of doyto-query-test Show documentation
The test package for DoytoQuery Library
// Generated by delombok at Sat Jan 27 04:38:03 UTC 2024
/*
* Copyright © 2019-2024 Forb Yuan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package win.doyto.query.test.role;
import win.doyto.query.annotation.DomainPath;
import win.doyto.query.annotation.Id;
import win.doyto.query.entity.Persistable;
import win.doyto.query.test.perm.PermView;
import win.doyto.query.test.user.UserView;
import java.util.List;
/**
* UserEntity
*
* @author f0rb on 2020-04-01
*/
public class RoleView implements Persistable {
@Id
private Integer id;
private String roleName;
private String roleCode;
private Boolean valid;
// many-to-many
@DomainPath({"role", "~", "user"})
private List users;
// many-to-many
@DomainPath({"role", "perm"})
private List perms;
// many-to-one
@DomainPath(value = "user", localField = "create_user_id")
private UserView createUser;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Integer getId() {
return this.id;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getRoleName() {
return this.roleName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getRoleCode() {
return this.roleCode;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Boolean getValid() {
return this.valid;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public List getUsers() {
return this.users;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public List getPerms() {
return this.perms;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public UserView getCreateUser() {
return this.createUser;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setId(final Integer id) {
this.id = id;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setRoleName(final String roleName) {
this.roleName = roleName;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setRoleCode(final String roleCode) {
this.roleCode = roleCode;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setValid(final Boolean valid) {
this.valid = valid;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setUsers(final List users) {
this.users = users;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setPerms(final List perms) {
this.perms = perms;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setCreateUser(final UserView createUser) {
this.createUser = createUser;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy