Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王飞
vehicle-quality-review
Commits
4f2e4409
Commit
4f2e4409
authored
Feb 18, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉实体类继承
parent
d8d0e371
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
5 deletions
+35
-5
TestScenario.java
...y-review/src/main/java/com/ruoyi/domain/TestScenario.java
+18
-4
TestType.java
quality-review/src/main/java/com/ruoyi/domain/TestType.java
+17
-1
No files found.
quality-review/src/main/java/com/ruoyi/domain/TestScenario.java
View file @
4f2e4409
package
com
.
ruoyi
.
domain
;
package
com
.
ruoyi
.
domain
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.ruoyi.common.core.domain.BaseEntity
;
import
com.ruoyi.common.core.domain.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
...
@@ -14,7 +12,7 @@ import java.util.Date;
...
@@ -14,7 +12,7 @@ import java.util.Date;
@ApiModel
@ApiModel
@TableName
(
value
=
"t_test_scenario"
)
@TableName
(
value
=
"t_test_scenario"
)
@Data
@Data
public
class
TestScenario
extends
BaseEntity
{
public
class
TestScenario
{
/** 主键 */
/** 主键 */
@ApiModelProperty
(
"主键"
)
@ApiModelProperty
(
"主键"
)
...
@@ -32,4 +30,20 @@ public class TestScenario extends BaseEntity {
...
@@ -32,4 +30,20 @@ public class TestScenario extends BaseEntity {
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
"入库时间"
)
@ApiModelProperty
(
"入库时间"
)
private
Date
storageTime
;
private
Date
storageTime
;
/** 创建者 */
private
String
createBy
;
/** 创建时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/** 更新者 */
private
String
updateBy
;
/** 更新时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@TableField
(
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
}
}
quality-review/src/main/java/com/ruoyi/domain/TestType.java
View file @
4f2e4409
...
@@ -12,7 +12,7 @@ import java.util.Date;
...
@@ -12,7 +12,7 @@ import java.util.Date;
@ApiModel
@ApiModel
@TableName
(
value
=
"t_test_type"
)
@TableName
(
value
=
"t_test_type"
)
@Data
@Data
public
class
TestType
extends
BaseEntity
{
public
class
TestType
{
/** 主键 */
/** 主键 */
@ApiModelProperty
(
"主键"
)
@ApiModelProperty
(
"主键"
)
...
@@ -31,4 +31,20 @@ public class TestType extends BaseEntity {
...
@@ -31,4 +31,20 @@ public class TestType extends BaseEntity {
@ApiModelProperty
(
"入库时间"
)
@ApiModelProperty
(
"入库时间"
)
private
Date
storageTime
;
private
Date
storageTime
;
/** 创建者 */
private
String
createBy
;
/** 创建时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/** 更新者 */
private
String
updateBy
;
/** 更新时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@TableField
(
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment