chore: 实体定义优化

This commit is contained in:
Ray.Hao
2024-10-18 22:10:58 +08:00
parent 5c7c216679
commit caad917c03
4 changed files with 3 additions and 28 deletions

View File

@@ -13,7 +13,7 @@ import lombok.EqualsAndHashCode;
* @since 2024-07-29 11:17:26
*/
@Data
@EqualsAndHashCode(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description = "系统配置")
@TableName("sys_config")
public class Config extends BaseEntity {

View File

@@ -14,7 +14,7 @@ import java.util.List;
* @since 2024-08-27 10:31
*/
@Data
@EqualsAndHashCode(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description ="通知公告查询对象")
public class NoticePageQuery extends BasePageQuery {

View File

@@ -1,25 +0,0 @@
package com.youlai.boot.system.model.query;
import com.youlai.boot.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 权限分页查询对象
*
* @author haoxr
* @since 2022/1/14 22:22
*/
@Data
@Schema
@EqualsAndHashCode(callSuper = true)
public class PermPageQuery extends BasePageQuery {
@Schema(description="权限名称")
private String name;
@Schema(description="菜单ID")
private Long menuId;
}

View File

@@ -14,7 +14,7 @@ import java.util.List;
* @since 2022/1/14
*/
@Data
@EqualsAndHashCode(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description ="用户分页查询对象")
public class UserPageQuery extends BasePageQuery {