feat(缺陷管理): add delete field

This commit is contained in:
song-cc-rock 2023-10-16 18:47:50 +08:00 committed by Craftsman
parent 7011958e7b
commit 7c5681de7b
6 changed files with 16 additions and 0 deletions

View File

@ -41,6 +41,12 @@ public class Bug implements Serializable {
@Schema(description = "更新时间")
private Long updateTime;
@Schema(description = "删除人")
private String deleteUser;
@Schema(description = "删除时间")
private Long deleteTime;
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug.project_id.length_range}", groups = {Created.class, Updated.class})

View File

@ -10,6 +10,8 @@ CREATE TABLE IF NOT EXISTS bug(
`create_user` VARCHAR(50) NOT NULL COMMENT '创建人' ,
`create_time` BIGINT NOT NULL COMMENT '创建时间' ,
`update_time` BIGINT NOT NULL COMMENT '更新时间' ,
`delete_user` VARCHAR(50) NOT NULL COMMENT '删除人' ,
`delete_time` BIGINT NOT NULL COMMENT '删除时间' ,
`project_id` VARCHAR(50) NOT NULL COMMENT '项目ID' ,
`template_id` VARCHAR(50) COMMENT '模板ID' ,
`platform` VARCHAR(50) NOT NULL COMMENT '缺陷平台' ,

View File

@ -7,6 +7,8 @@ bug.assign_user.not_blank=指派人不能为空
bug.assign_user.length_range=指派人长度必须在1-50之间
bug.create_user.not_blank=创建人不能为空
bug.create_user.length_range=创建人长度必须在1-50之间
bug.delete_user.not_blank=删除人不能为空
bug.delete_user.length_range=删除人长度必须在1-50之间
bug.project_id.not_blank=项目ID不能为空
bug.project_id.length_range=项目ID长度必须在1-50之间
bug.platform.not_blank=缺陷平台不能为空

View File

@ -7,6 +7,8 @@ bug.assign_user.not_blank=assignUser cannot be empty
bug.assign_user.length_range=assignUser length must be between 1-50
bug.create_user.not_blank=createUser cannot be empty
bug.create_user.length_range=createUser length must be between 1-50
bug.delete_user.not_blank=deleteUser cannot be empty
bug.delete_user.length_range=deleteUser length must be between 1-50
bug.project_id.not_blank=projectId cannot be empty
bug.project_id.length_range=projectId length must be between 1-50
bug.platform.not_blank=platform cannot be empty

View File

@ -7,6 +7,8 @@ bug.assign_user.not_blank=指派人不能为空
bug.assign_user.length_range=指派人长度必须在1-50之间
bug.create_user.not_blank=创建人不能为空
bug.create_user.length_range=创建人长度必须在1-50之间
bug.delete_user.not_blank=删除人不能为空
bug.delete_user.length_range=删除人长度必须在1-50之间
bug.project_id.not_blank=项目ID不能为空
bug.project_id.length_range=项目ID长度必须在1-50之间
bug.platform.not_blank=缺陷平台不能为空

View File

@ -7,6 +7,8 @@ bug.assign_user.not_blank=指派人不能為空
bug.assign_user.length_range=指派人長度必須在1-50之間
bug.create_user.not_blank=创建人不能為空
bug.create_user.length_range=创建人長度必須在1-50之間
bug.delete_user.not_blank=删除人不能為空
bug.delete_user.length_range=删除人長度必須在1-50之間
bug.project_id.not_blank=项目ID不能為空
bug.project_id.length_range=项目ID長度必須在1-50之間
bug.platform.not_blank=缺陷平台不能為空