fix 修复 新增校验主键id问题

feature/model
疯狂的狮子Li 1 year ago
parent b537b1ecd2
commit 4198dce4f0

@ -2,7 +2,6 @@ package org.dromara.system.domain.bo;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;
@ -23,7 +22,6 @@ public class SysConfigBo extends BaseEntity {
/**
*
*/
@NotNull(message = "参数主键不能为空")
private Long configId;
/**

@ -24,7 +24,6 @@ public class SysDeptBo extends BaseEntity {
/**
* id
*/
@NotNull(message = "部门id不能为空")
private Long deptId;
/**

@ -23,7 +23,6 @@ public class SysDictDataBo extends BaseEntity {
/**
*
*/
@NotNull(message = "字典编码不能为空")
private Long dictCode;
/**

@ -2,7 +2,6 @@ package org.dromara.system.domain.bo;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Size;
import lombok.Data;
@ -24,7 +23,6 @@ public class SysDictTypeBo extends BaseEntity {
/**
*
*/
@NotNull(message = "字典主键不能为空")
private Long dictId;
/**

@ -24,7 +24,6 @@ public class SysMenuBo extends BaseEntity {
/**
* ID
*/
@NotNull(message = "菜单ID不能为空")
private Long menuId;
/**

@ -2,7 +2,6 @@ package org.dromara.system.domain.bo;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;
@ -24,7 +23,6 @@ public class SysNoticeBo extends BaseEntity {
/**
* ID
*/
@NotNull(message = "公告ID不能为空")
private Long noticeId;
/**

@ -23,7 +23,6 @@ public class SysPostBo extends BaseEntity {
/**
* ID
*/
@NotNull(message = "岗位ID不能为空")
private Long postId;
/**

@ -26,7 +26,6 @@ public class SysRoleBo extends BaseEntity {
/**
* ID
*/
@NotNull(message = "角色ID不能为空")
private Long roleId;
/**

Loading…
Cancel
Save