1717package com .lark .project .service .field .builder ;
1818
1919import com .google .gson .annotations .SerializedName ;
20- import com .lark .project .service .field .model .FieldValue ;
21-
20+ import com .lark .project .service .field .model .TeamOption ;
2221import java .util .List ;
2322
2423
2524public class UpdateFieldReqBody {
25+ @ SerializedName ("number_config" )
26+ private NumberConfig numberConfig ;
27+
28+ @ SerializedName ("team_option" )
29+ private TeamOption teamOption ;
30+
2631 @ SerializedName ("field_name" )
2732 private String fieldName ;
2833 @ SerializedName ("field_key" )
@@ -46,6 +51,80 @@ public String getFieldName() {
4651 return this .fieldName ;
4752 }
4853
54+ public NumberConfig getNumberConfig () {
55+ return this .numberConfig ;
56+ }
57+
58+ public void setNumberConfig (NumberConfig numberConfig ) {
59+ this .numberConfig = numberConfig ;
60+ }
61+
62+ public static class NumberConfig {
63+ @ SerializedName ("scaling_ratio" )
64+ private String scalingRatio ;
65+ @ SerializedName ("display_digits" )
66+ private Integer displayDigits ;
67+ @ SerializedName ("symbol_setting" )
68+ private SymbolSetting symbolSetting ;
69+
70+ public String getScalingRatio () {
71+ return scalingRatio ;
72+ }
73+
74+ public void setScalingRatio (String scalingRatio ) {
75+ this .scalingRatio = scalingRatio ;
76+ }
77+
78+ public Integer getDisplayDigits () {
79+ return displayDigits ;
80+ }
81+
82+ public void setDisplayDigits (Integer displayDigits ) {
83+ this .displayDigits = displayDigits ;
84+ }
85+
86+ public SymbolSetting getSymbolSetting () {
87+ return symbolSetting ;
88+ }
89+
90+ public void setSymbolSetting (SymbolSetting symbolSetting ) {
91+ this .symbolSetting = symbolSetting ;
92+ }
93+ }
94+
95+ public static class SymbolSetting {
96+ @ SerializedName ("display" )
97+ private String display ;
98+ @ SerializedName ("value" )
99+ private String value ;
100+ @ SerializedName ("layout" )
101+ private String layout ;
102+
103+ public String getDisplay () {
104+ return display ;
105+ }
106+
107+ public void setDisplay (String display ) {
108+ this .display = display ;
109+ }
110+
111+ public String getValue () {
112+ return value ;
113+ }
114+
115+ public void setValue (String value ) {
116+ this .value = value ;
117+ }
118+
119+ public String getLayout () {
120+ return layout ;
121+ }
122+
123+ public void setLayout (String layout ) {
124+ this .layout = layout ;
125+ }
126+ }
127+
49128 public void setFieldName (String fieldName ) {
50129 this .fieldName = fieldName ;
51130 }
@@ -113,4 +192,12 @@ public List<String> getAuthorizedRoles() {
113192 public void setAuthorizedRoles (List <String > authorizedRoles ) {
114193 this .authorizedRoles = authorizedRoles ;
115194 }
195+
196+ public TeamOption getTeamOption () {
197+ return this .teamOption ;
198+ }
199+
200+ public void setTeamOption (TeamOption teamOption ) {
201+ this .teamOption = teamOption ;
202+ }
116203}
0 commit comments