DataSourceDto.java 6.01 KB
Newer Older
1 2
package pwc.taxtech.atms.dto.vatdto;

3
import com.fasterxml.jackson.annotation.JsonProperty;
4

5 6 7 8 9
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class DataSourceDto {
10 11
//    private static String _DataSourcePrefix = "DS[";
//    private static String _DataSourceSuffix = "]";
12 13

    public DataSourceDto() {
14
        //this.internalCode = _DataSourcePrefix + hashCode() + _DataSourceSuffix;
15 16
    }

17
    String id;
18

19
    //String internalCode;
20
    String name;
21 22

    // 1: Formula, 2: Voucher, 3: OutputInvoice, 4: InputInvoice, 5: CustomInvoice, 6: KeyIn, 7: RelatedModel, 8: SapDaily
23
    Integer dataSourceType;
sherlock's avatar
sherlock committed
24
    private String keyinData;
25
    private BigDecimal amount;
26
    String description;
27 28

    // 1: +, 2: -, 3: *, 4: /
29
    Integer operationType;
kevin's avatar
#  
kevin committed
30
    String rel_sql;
31 32

    // 1: Number, 2: Percentage, 3: Boolean, 4: String
33 34
    Integer resultType;
    Integer type;
35
    @JsonProperty("keyValueDataID")
36
    String keyValueDataId;
37 38 39 40
    String creator;
    Date createTime;
    String updater;
    Date updateTime;
41
    @JsonProperty("cellDataID")
42
    String cellDataId;
43
    List<String> items;
44
    @JsonProperty("projectID")
45
    String projectId;
46
    @JsonProperty("serviceTypeID")
47
    String serviceTypeId;
48 49 50 51 52 53 54
    Integer rowIndex;
    Integer columnIndex;
    String rowName;
    String columnName;
    Integer year;
    Integer period;
    String summaryExp;
55
    @JsonProperty("cellTemplateID")
56
    String cellTemplateId;
57
    @JsonProperty("reportTemplateID")
58
    String reportTemplateId;
eddie.woo's avatar
eddie.woo committed
59

kevin's avatar
#  
kevin committed
60 61 62 63 64 65 66 67
    public String getRel_sql() {
        return rel_sql;
    }

    public void setRel_sql(String rel_sql) {
        this.rel_sql = rel_sql;
    }

eddie.woo's avatar
eddie.woo committed
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDataSourceType() {
        return this.dataSourceType;
    }

    public void setDataSourceType(Integer dataSourceType) {
        this.dataSourceType = dataSourceType;
    }

    public String getKeyinData() {
        return this.keyinData;
    }

    public void setKeyinData(String keyinData) {
        this.keyinData = keyinData;
    }

    public BigDecimal getAmount() {
        return this.amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getOperationType() {
        return this.operationType;
    }

    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }

    public Integer getResultType() {
        return this.resultType;
    }

    public void setResultType(Integer resultType) {
        this.resultType = resultType;
    }

    public Integer getType() {
        return this.type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getKeyValueDataId() {
        return this.keyValueDataId;
    }

    public void setKeyValueDataId(String keyValueDataId) {
        this.keyValueDataId = keyValueDataId;
    }

    public String getCreator() {
        return this.creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdater() {
        return this.updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCellDataId() {
        return this.cellDataId;
    }

    public void setCellDataId(String cellDataId) {
        this.cellDataId = cellDataId;
    }

    public List<String> getItems() {
        return this.items;
    }

    public void setItems(List<String> items) {
        this.items = items;
    }

    public String getProjectId() {
        return this.projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getServiceTypeId() {
        return this.serviceTypeId;
    }

    public void setServiceTypeId(String serviceTypeId) {
        this.serviceTypeId = serviceTypeId;
    }

    public Integer getRowIndex() {
        return this.rowIndex;
    }

    public void setRowIndex(Integer rowIndex) {
        this.rowIndex = rowIndex;
    }

    public Integer getColumnIndex() {
        return this.columnIndex;
    }

    public void setColumnIndex(Integer columnIndex) {
        this.columnIndex = columnIndex;
    }

    public String getRowName() {
        return this.rowName;
    }

    public void setRowName(String rowName) {
        this.rowName = rowName;
    }

    public String getColumnName() {
        return this.columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public Integer getYear() {
        return this.year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getPeriod() {
        return this.period;
    }

    public void setPeriod(Integer period) {
        this.period = period;
    }

    public String getSummaryExp() {
        return this.summaryExp;
    }

    public void setSummaryExp(String summaryExp) {
        this.summaryExp = summaryExp;
    }

    public String getCellTemplateId() {
        return this.cellTemplateId;
    }

    public void setCellTemplateId(String cellTemplateId) {
        this.cellTemplateId = cellTemplateId;
    }

    public String getReportTemplateId() {
        return this.reportTemplateId;
    }

    public void setReportTemplateId(String reportTemplateId) {
        this.reportTemplateId = reportTemplateId;
    }
283
}