mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-11 03:46:50 +08:00
考试增加机构id, 机构名称两个字段
This commit is contained in:
@@ -24,11 +24,25 @@ import lombok.EqualsAndHashCode;
|
|||||||
public class ExamTest extends BaseEntity {
|
public class ExamTest extends BaseEntity {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 考试名称
|
* 考试名称
|
||||||
* */
|
* */
|
||||||
@Column(name = "test_name",nullable = false,length = 50)
|
@Column(name = "test_name",nullable = false,length = 50)
|
||||||
private String testName;
|
private String testName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属机构id
|
||||||
|
*/
|
||||||
|
@Column(name = "org_id",length = 36)
|
||||||
|
private String orgId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属机构名称,冗余存储,因为机构是从其它服务查询过来的,不是本地的的,所以这里存储是为了方便查询显示
|
||||||
|
*/
|
||||||
|
@Column(name = "org_name",length = 100)
|
||||||
|
private String orgName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 考试时长 分钟
|
* 考试时长 分钟
|
||||||
* */
|
* */
|
||||||
|
|||||||
Reference in New Issue
Block a user