OrganizationAccountingRate.java 16.2 KB
Newer Older
Ken you's avatar
Ken you committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 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 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547
package pwc.taxtech.atms.entity;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table organization_accounting_rate
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class OrganizationAccountingRate extends BaseEntity implements Serializable {
    /**
     * Database Column Remarks:
     *   唯一编号
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     * Database Column Remarks:
     *   机构编号
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.organization_id
     *
     * @mbg.generated
     */
    private String organizationId;

    /**
     * Database Column Remarks:
     *   期间,与滴滴联调传yyyy-MM-dd转为yyyyMMdd
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.period
     *
     * @mbg.generated
     */
    private Integer period;

    /**
     * Database Column Remarks:
     *   数据日期
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.date
     *
     * @mbg.generated
     */
    private Date date;

    /**
     * Database Column Remarks:
     *   来源
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.source
     *
     * @mbg.generated
     */
    private String source;

    /**
     * Database Column Remarks:
     *   汇率类型
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.convertion_type
     *
     * @mbg.generated
     */
    private String convertionType;

    /**
     * Database Column Remarks:
     *   货币自
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.currency_from
     *
     * @mbg.generated
     */
    private String currencyFrom;

    /**
     * Database Column Remarks:
     *   货币至
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.currency_to
     *
     * @mbg.generated
     */
    private String currencyTo;

    /**
     * Database Column Remarks:
     *   期间始
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.start_date
     *
     * @mbg.generated
     */
    private Date startDate;

    /**
     * Database Column Remarks:
     *   期间止.2015-05-02
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.end_date
     *
     * @mbg.generated
     */
    private Date endDate;

    /**
     * Database Column Remarks:
     *   入账汇率.6.66
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.rate
     *
     * @mbg.generated
     */
    private Float rate;

    /**
     * Database Column Remarks:
     *   创建时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.create_time
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * Database Column Remarks:
     *   更新时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.update_time
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * Database Column Remarks:
     *   同步用于标记不同分页的数据,避免重复删除
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_accounting_rate.task_id
     *
     * @mbg.generated
     */
    private String taskId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table organization_accounting_rate
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.id
     *
     * @return the value of organization_accounting_rate.id
     *
     * @mbg.generated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.id
     *
     * @param id the value for organization_accounting_rate.id
     *
     * @mbg.generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.organization_id
     *
     * @return the value of organization_accounting_rate.organization_id
     *
     * @mbg.generated
     */
    public String getOrganizationId() {
        return organizationId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.organization_id
     *
     * @param organizationId the value for organization_accounting_rate.organization_id
     *
     * @mbg.generated
     */
    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId == null ? null : organizationId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.period
     *
     * @return the value of organization_accounting_rate.period
     *
     * @mbg.generated
     */
    public Integer getPeriod() {
        return period;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.period
     *
     * @param period the value for organization_accounting_rate.period
     *
     * @mbg.generated
     */
    public void setPeriod(Integer period) {
        this.period = period;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.date
     *
     * @return the value of organization_accounting_rate.date
     *
     * @mbg.generated
     */
    public Date getDate() {
        return date;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.date
     *
     * @param date the value for organization_accounting_rate.date
     *
     * @mbg.generated
     */
    public void setDate(Date date) {
        this.date = date;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.source
     *
     * @return the value of organization_accounting_rate.source
     *
     * @mbg.generated
     */
    public String getSource() {
        return source;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.source
     *
     * @param source the value for organization_accounting_rate.source
     *
     * @mbg.generated
     */
    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.convertion_type
     *
     * @return the value of organization_accounting_rate.convertion_type
     *
     * @mbg.generated
     */
    public String getConvertionType() {
        return convertionType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.convertion_type
     *
     * @param convertionType the value for organization_accounting_rate.convertion_type
     *
     * @mbg.generated
     */
    public void setConvertionType(String convertionType) {
        this.convertionType = convertionType == null ? null : convertionType.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.currency_from
     *
     * @return the value of organization_accounting_rate.currency_from
     *
     * @mbg.generated
     */
    public String getCurrencyFrom() {
        return currencyFrom;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.currency_from
     *
     * @param currencyFrom the value for organization_accounting_rate.currency_from
     *
     * @mbg.generated
     */
    public void setCurrencyFrom(String currencyFrom) {
        this.currencyFrom = currencyFrom == null ? null : currencyFrom.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.currency_to
     *
     * @return the value of organization_accounting_rate.currency_to
     *
     * @mbg.generated
     */
    public String getCurrencyTo() {
        return currencyTo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.currency_to
     *
     * @param currencyTo the value for organization_accounting_rate.currency_to
     *
     * @mbg.generated
     */
    public void setCurrencyTo(String currencyTo) {
        this.currencyTo = currencyTo == null ? null : currencyTo.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.start_date
     *
     * @return the value of organization_accounting_rate.start_date
     *
     * @mbg.generated
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.start_date
     *
     * @param startDate the value for organization_accounting_rate.start_date
     *
     * @mbg.generated
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.end_date
     *
     * @return the value of organization_accounting_rate.end_date
     *
     * @mbg.generated
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.end_date
     *
     * @param endDate the value for organization_accounting_rate.end_date
     *
     * @mbg.generated
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.rate
     *
     * @return the value of organization_accounting_rate.rate
     *
     * @mbg.generated
     */
    public Float getRate() {
        return rate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.rate
     *
     * @param rate the value for organization_accounting_rate.rate
     *
     * @mbg.generated
     */
    public void setRate(Float rate) {
        this.rate = rate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.create_time
     *
     * @return the value of organization_accounting_rate.create_time
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.create_time
     *
     * @param createTime the value for organization_accounting_rate.create_time
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.update_time
     *
     * @return the value of organization_accounting_rate.update_time
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.update_time
     *
     * @param updateTime the value for organization_accounting_rate.update_time
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_accounting_rate.task_id
     *
     * @return the value of organization_accounting_rate.task_id
     *
     * @mbg.generated
     */
    public String getTaskId() {
        return taskId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column organization_accounting_rate.task_id
     *
     * @param taskId the value for organization_accounting_rate.task_id
     *
     * @mbg.generated
     */
    public void setTaskId(String taskId) {
        this.taskId = taskId == null ? null : taskId.trim();
    }

    public OrganizationAccountingRate(){}

    public OrganizationAccountingRate(Long id,String orgId){
        this.id = id;
        this.organizationId = orgId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_accounting_rate
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", organizationId=").append(organizationId);
        sb.append(", period=").append(period);
        sb.append(", date=").append(date);
        sb.append(", source=").append(source);
        sb.append(", convertionType=").append(convertionType);
        sb.append(", currencyFrom=").append(currencyFrom);
        sb.append(", currencyTo=").append(currencyTo);
        sb.append(", startDate=").append(startDate);
        sb.append(", endDate=").append(endDate);
        sb.append(", rate=").append(rate);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", taskId=").append(taskId);
        sb.append("]");
        return sb.toString();
    }
gary's avatar
gary committed
548
}