|
@@ -1,5 +1,6 @@
|
|
|
package cn.seecoder.web.model.vo.project;
|
|
package cn.seecoder.web.model.vo.project;
|
|
|
|
|
|
|
|
|
|
+import cn.seecoder.web.model.enums.CommitRelatedEnum;
|
|
|
import cn.seecoder.web.model.po.project.CommitPO;
|
|
import cn.seecoder.web.model.po.project.CommitPO;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
@@ -24,6 +25,8 @@ public class CommitVO {
|
|
|
private String timestamp;
|
|
private String timestamp;
|
|
|
@ApiModelProperty("commit 用户的gitlab用户名")
|
|
@ApiModelProperty("commit 用户的gitlab用户名")
|
|
|
private String gitlabUsername;
|
|
private String gitlabUsername;
|
|
|
|
|
+ @ApiModelProperty("commit type")
|
|
|
|
|
+ private CommitRelatedEnum relatedType;
|
|
|
|
|
|
|
|
public CommitVO(CommitPO po) {
|
|
public CommitVO(CommitPO po) {
|
|
|
BeanUtils.copyProperties(po,this);
|
|
BeanUtils.copyProperties(po,this);
|