This commit is contained in:
asp_ly 2024-12-27 22:41:45 +08:00
parent 34d5b0f9f8
commit 03dd04d9f5
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import java.util.List;
public class ProjectGroupDTO extends BaseDTO { public class ProjectGroupDTO extends BaseDTO {
// @NotNull(message = "租户ID不能为空") // @NotNull(message = "租户ID不能为空")
private Long tenantCode; private String tenantCode;
@NotNull(message = "项目组类型不能为空") @NotNull(message = "项目组类型不能为空")
private ProjectGroupTypeEnum type; private ProjectGroupTypeEnum type;

View File

@ -31,7 +31,7 @@ public class ProjectGroup extends Entity<Long> {
* 租户ID * 租户ID
*/ */
@Column(name = "tenant_code") @Column(name = "tenant_code")
private Long tenantCode; private String tenantCode;
@Column(name = "type", nullable = false) @Column(name = "type", nullable = false)
@Enumerated(EnumType.STRING) @Enumerated(EnumType.STRING)