Skip to content

Commit

Permalink
Merge pull request #65 from fcfang123/issue-64
Browse files Browse the repository at this point in the history
feat:增加itsm审批单据内容信息 #64
  • Loading branch information
mingshewhe authored Sep 1, 2023
2 parents ebbe106 + 10298a8 commit eded49e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ext {
set("junitVersion", "5.4.2")

if (System.getProperty("snapshot") == "true") {
set('iamVersion', "1.0.31-SNAPSHOT")
set('iamVersion', "1.0.32-SNAPSHOT")
} else {
set('iamVersion', "1.0.0")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
package com.tencent.bk.sdk.iam.dto.application;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.tencent.bk.sdk.iam.dto.itsm.ItsmContentDTO;
import com.tencent.bk.sdk.iam.dto.itsm.ItsmValue;
import lombok.Builder;
import lombok.Data;

import java.util.HashMap;
import java.util.List;

@Data
Expand All @@ -27,4 +30,10 @@ public class ApplicationDTO {
/*申请人,即username*/
private String applicant;
private String reason;
@JsonProperty("content_template")
private ItsmContentDTO contentTemplate;
@JsonProperty("group_content")
private HashMap<String, ItsmValue> groupContent;
@JsonProperty("title_prefix")
private String titlePrefix;
}
15 changes: 15 additions & 0 deletions src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmColumn.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
package com.tencent.bk.sdk.iam.dto.itsm;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class ItsmColumn {
/**
* 列标识
* */
private String key;
/**
* 列名称
* */
private String name;
/**
* 列类型:text、url
* */
private String type;
/**
* 是否为抽屉模式
* */
@JsonProperty("is_iframe")
private Boolean iframe;
private Integer width;
}

0 comments on commit eded49e

Please sign in to comment.