考试增加机构id, 机构名称两个字段

This commit is contained in:
daihh
2022-12-19 09:24:20 +08:00
parent 0b192bc0b7
commit fbab42e46c

View File

@@ -24,11 +24,25 @@ import lombok.EqualsAndHashCode;
public class ExamTest extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* 考试名称
* */
@Column(name = "test_name",nullable = false,length = 50)
private String testName;
/**
* 所属机构id
*/
@Column(name = "org_id",length = 36)
private String orgId;
/**
* 所属机构名称,冗余存储,因为机构是从其它服务查询过来的,不是本地的的,所以这里存储是为了方便查询显示
*/
@Column(name = "org_name",length = 100)
private String orgName;
/**
* 考试时长 分钟
* */