SaleDetail.java 19.6 KB
Newer Older
peterchu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package com.yutu.base.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

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

/**
 * 销售明细实体类
 */
public class SaleDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;

    private String key;//唯一标识  customerId_fromDate_toDate
peterchu committed
17 18
    private String createTime;//创建时间
    private String updateTime;//更新时间
peterchu committed
19 20
    private Integer sortIndex;

peterchu committed
21 22
    private String createOrderTime;                    //    sheet.addCell(new Label(0,0,"生单时间",wcf2));
    private String ticketTime;                    //    sheet.addCell(new Label(1,0,"出票时间",wcf2));
peterchu committed
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
    private String outerOrderNo;                    //    sheet.addCell(new Label(2,0,"订单号",wcf2));
    private String channel;                    //    sheet.addCell(new Label(3,0,"销售渠道",wcf2));
    private String store;                    //    sheet.addCell(new Label(4,0,"销售店铺",wcf2));
    private String tairLine;                    //    sheet.addCell(new Label(5,0,"航线",wcf2));
    private String flightTime;                    //    sheet.addCell(new Label(6,0,"起飞时间",wcf2));
    private String flightNumber;                    //    sheet.addCell(new Label(7,0,"航班号",wcf2));
    private String tripType;                    //    sheet.addCell(new Label(8,0,"行程类型",wcf2));
    private String pnrType;                    //    sheet.addCell(new Label(9,0,"票号类型",wcf2));
    private String pnr;                    //    sheet.addCell(new Label(10,0,"编码",wcf2));
    private Integer passengerCount;                    //    sheet.addCell(new Label(11,0,"人数",wcf2));
    private Double salePrice;                    //    sheet.addCell(new Label(12,0,"销售—金额",wcf2));
    private Double luggagePrice;                    //    sheet.addCell(new Label(13,0,"行李总金额",wcf2));
    private Integer points;                    //    sheet.addCell(new Label(14,0,"采购积分",wcf2));
    private String purchaseCurrency;                    //    sheet.addCell(new Label(15,0,"采购币种",wcf2));
    private Double purchasePrice_local;                    //    sheet.addCell(new Label(16,0,"采购金额(外)",wcf2));
    private Double purchasePrice_rmb;                    //    sheet.addCell(new Label(17,0,"采购金额(本)",wcf2));
    private Double transactionDetail_local;                    //    sheet.addCell(new Label(18,0,"支付明细(外)",wcf2));
    private Double transactionDetail_rmb;                    //    sheet.addCell(new Label(19,0,"支付明细(本)",wcf2));
    private String payMethod;                    //    sheet.addCell(new Label(20,0,"支付方式",wcf2));
    private String cardNumber;                    //    sheet.addCell(new Label(21,0,"卡号",wcf2));
    private Double profit;                   //    sheet.addCell(new Label(22,0,"利润",wcf2));
    private String transactionNumber;                    //    sheet.addCell(new Label(23,0,"交易流水号",wcf2));
    private String orderValueAddedNo;                    //    sheet.addCell(new Label(24,0,"辅营订单号",wcf2));
    private String purchaseChannel;                    //    sheet.addCell(new Label(25,0,"采购渠道",wcf2));
    private String purchaseAccount;                    //    sheet.addCell(new Label(26,0,"采购账户",wcf2));
    private String purchaseOrderNo;                    //    sheet.addCell(new Label(27,0,"采购订单号",wcf2));
    private String policyType;                    //    sheet.addCell(new Label(28,0,"政策类型",wcf2));
    private String policyCode;                    //    sheet.addCell(new Label(29,0,"政策编码",wcf2));
    private String orderStatus;                    //    sheet.addCell(new Label(30,0,"订单状态",wcf2));
    private String operator;                    //    sheet.addCell(new Label(31,0,"出票人",wcf2));
peterchu committed
53
    private String purchaseTime;                    //    sheet.addCell(new Label(32,0,"采购时间",wcf2));
peterchu committed
54 55 56 57 58 59
    private String orderValueAdded;                   //    sheet.addCell(new Label(33,0,"附加产品",wcf2));
    private String orderValueAddedSpecific;                    //    sheet.addCell(new Label(34,0,"附加产品规格",wcf2));
    private String remark;                    //    sheet.addCell(new Label(35,0,"备注",wcf2));
    private String officalReceivedPaymentStatus;                    //    sheet.addCell(new Label(36,0,"财务-回款状态",wcf2));
    private Double officalActualExpendAmount;                    //    sheet.addCell(new Label(37,0,"财务-实际支出金额",wcf2));
    private Double officalBalance;                    //    sheet.addCell(new Label(38,0,"财务-补差",wcf2));
peterchu committed
60
    private String officalRateAdjustDate;                    //    sheet.addCell(new Label(39,0,"财务-外币调整日期",wcf2));
peterchu committed
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

    private String passengerNames;          //采购信息本次采购的乘客姓名
    private Integer adultCount;             //采购的成人数量
    private Integer childCount;             //采购的儿童数量

    public Integer getAdultCount() {
        return adultCount;
    }

    public void setAdultCount(Integer adultCount) {
        this.adultCount = adultCount;
    }

    public Integer getChildCount() {
        return childCount;
    }

    public void setChildCount(Integer childCount) {
        this.childCount = childCount;
    }

    public String getId() {
        return id;
    }

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

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

peterchu committed
98
    public String getCreateTime() {
peterchu committed
99 100 101
        return createTime;
    }

peterchu committed
102
    public void setCreateTime(String createTime) {
peterchu committed
103 104 105
        this.createTime = createTime;
    }

peterchu committed
106
    public String getUpdateTime() {
peterchu committed
107 108 109
        return updateTime;
    }

peterchu committed
110
    public void setUpdateTime(String updateTime) {
peterchu committed
111 112 113 114 115 116 117 118 119 120 121 122
        this.updateTime = updateTime;
    }

    public Integer getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(Integer sortIndex) {
        this.sortIndex = sortIndex;
    }

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
peterchu committed
123
    public String getCreateOrderTime() {
peterchu committed
124 125 126
        return createOrderTime;
    }

peterchu committed
127
    public void setCreateOrderTime(String createOrderTime) {
peterchu committed
128 129 130 131
        this.createOrderTime = createOrderTime;
    }

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
peterchu committed
132
    public String getTicketTime() {
peterchu committed
133 134 135
        return ticketTime;
    }

peterchu committed
136
    public void setTicketTime(String ticketTime) {
peterchu committed
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
        this.ticketTime = ticketTime;
    }

    public String getOuterOrderNo() {
        return outerOrderNo;
    }

    public void setOuterOrderNo(String outerOrderNo) {
        this.outerOrderNo = outerOrderNo;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getStore() {
        return store;
    }

    public void setStore(String store) {
        this.store = store;
    }

    public String getTairLine() {
        return tairLine;
    }

    public void setTairLine(String tairLine) {
        this.tairLine = tairLine;
    }

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    public String getFlightTime() {
        return flightTime;
    }

    public void setFlightTime(String flightTime) {
        this.flightTime = flightTime;
    }

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    public String getFlightNumber() {
        return flightNumber;
    }

    public void setFlightNumber(String flightNumber) {
        this.flightNumber = flightNumber;
    }

    public String getTripType() {
        return tripType;
    }

    public void setTripType(String tripType) {
        this.tripType = tripType;
    }

    public String getPnrType() {
        return pnrType;
    }

    public void setPnrType(String pnrType) {
        this.pnrType = pnrType;
    }

    public String getPnr() {
        return pnr;
    }

    public void setPnr(String pnr) {
        this.pnr = pnr;
    }

    public Integer getPassengerCount() {
        return passengerCount;
    }

    public void setPassengerCount(Integer passengerCount) {
        this.passengerCount = passengerCount;
    }

    public Double getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(Double salePrice) {
        this.salePrice = salePrice;
    }

    public Double getLuggagePrice() {
        return luggagePrice;
    }

    public void setLuggagePrice(Double luggagePrice) {
        this.luggagePrice = luggagePrice;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public String getPurchaseCurrency() {
        return purchaseCurrency;
    }

    public void setPurchaseCurrency(String purchaseCurrency) {
        this.purchaseCurrency = purchaseCurrency;
    }

    public Double getPurchasePrice_local() {
        return purchasePrice_local;
    }

    public void setPurchasePrice_local(Double purchasePrice_local) {
        this.purchasePrice_local = purchasePrice_local;
    }

    public Double getPurchasePrice_rmb() {
        return purchasePrice_rmb;
    }

    public void setPurchasePrice_rmb(Double purchasePrice_rmb) {
        this.purchasePrice_rmb = purchasePrice_rmb;
    }

    public Double getTransactionDetail_local() {
        return transactionDetail_local;
    }

    public void setTransactionDetail_local(Double transactionDetail_local) {
        this.transactionDetail_local = transactionDetail_local;
    }

    public Double getTransactionDetail_rmb() {
        return transactionDetail_rmb;
    }

    public void setTransactionDetail_rmb(Double transactionDetail_rmb) {
        this.transactionDetail_rmb = transactionDetail_rmb;
    }

    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public Double getProfit() {
        return profit;
    }

    public void setProfit(Double profit) {
        this.profit = profit;
    }

    public String getTransactionNumber() {
        return transactionNumber;
    }

    public void setTransactionNumber(String transactionNumber) {
        this.transactionNumber = transactionNumber;
    }

    public String getOrderValueAddedNo() {
        return orderValueAddedNo;
    }

    public void setOrderValueAddedNo(String orderValueAddedNo) {
        this.orderValueAddedNo = orderValueAddedNo;
    }

    public String getPurchaseChannel() {
        return purchaseChannel;
    }

    public void setPurchaseChannel(String purchaseChannel) {
        this.purchaseChannel = purchaseChannel;
    }

    public String getPurchaseAccount() {
        return purchaseAccount;
    }

    public void setPurchaseAccount(String purchaseAccount) {
        this.purchaseAccount = purchaseAccount;
    }

    public String getPurchaseOrderNo() {
        return purchaseOrderNo;
    }

    public void setPurchaseOrderNo(String purchaseOrderNo) {
        this.purchaseOrderNo = purchaseOrderNo;
    }

    public String getPolicyType() {
        return policyType;
    }

    public void setPolicyType(String policyType) {
        this.policyType = policyType;
    }

    public String getPolicyCode() {
        return policyCode;
    }

    public void setPolicyCode(String policyCode) {
        this.policyCode = policyCode;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
peterchu committed
383
    public String getPurchaseTime() {
peterchu committed
384 385 386
        return purchaseTime;
    }

peterchu committed
387
    public void setPurchaseTime(String purchaseTime) {
peterchu committed
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
        this.purchaseTime = purchaseTime;
    }

    public String getOrderValueAdded() {
        return orderValueAdded;
    }

    public void setOrderValueAdded(String orderValueAdded) {
        this.orderValueAdded = orderValueAdded;
    }

    public String getOrderValueAddedSpecific() {
        return orderValueAddedSpecific;
    }

    public void setOrderValueAddedSpecific(String orderValueAddedSpecific) {
        this.orderValueAddedSpecific = orderValueAddedSpecific;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOfficalReceivedPaymentStatus() {
        return officalReceivedPaymentStatus;
    }

    public void setOfficalReceivedPaymentStatus(String officalReceivedPaymentStatus) {
        this.officalReceivedPaymentStatus = officalReceivedPaymentStatus;
    }

    public Double getOfficalActualExpendAmount() {
        return officalActualExpendAmount;
    }

    public void setOfficalActualExpendAmount(Double officalActualExpendAmount) {
        this.officalActualExpendAmount = officalActualExpendAmount;
    }

    public Double getOfficalBalance() {
        return officalBalance;
    }

    public void setOfficalBalance(Double officalBalance) {
        this.officalBalance = officalBalance;
    }

peterchu committed
439
    public String getOfficalRateAdjustDate() {
peterchu committed
440 441 442
        return officalRateAdjustDate;
    }

peterchu committed
443
    public void setOfficalRateAdjustDate(String officalRateAdjustDate) {
peterchu committed
444 445 446 447 448 449 450 451 452 453 454 455 456 457
        this.officalRateAdjustDate = officalRateAdjustDate;
    }

    public String getPassengerNames() {
        return passengerNames;
    }

    public void setPassengerNames(String passengerNames) {
        this.passengerNames = passengerNames;
    }

    public SaleDetail() {
    }

peterchu committed
458
    public SaleDetail(String id, String key, String createTime, String updateTime, Integer sortIndex, String createOrderTime, String ticketTime, String outerOrderNo, String channel, String store, String tairLine, String flightTime, String flightNumber, String tripType, String pnrType, String pnr, Integer passengerCount, Double salePrice, Double luggagePrice, Integer points, String purchaseCurrency, Double purchasePrice_local, Double purchasePrice_rmb, Double transactionDetail_local, Double transactionDetail_rmb, String payMethod, String cardNumber, Double profit, String transactionNumber, String orderValueAddedNo, String purchaseChannel, String purchaseAccount, String purchaseOrderNo, String policyType, String policyCode, String orderStatus, String operator, String purchaseTime, String orderValueAdded, String orderValueAddedSpecific, String remark, String officalReceivedPaymentStatus, Double officalActualExpendAmount, Double officalBalance, String officalRateAdjustDate, String passengerNames, Integer adultCount, Integer childCount) {
peterchu committed
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 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562
        this.id = id;
        this.key = key;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.sortIndex = sortIndex;
        this.createOrderTime = createOrderTime;
        this.ticketTime = ticketTime;
        this.outerOrderNo = outerOrderNo;
        this.channel = channel;
        this.store = store;
        this.tairLine = tairLine;
        this.flightTime = flightTime;
        this.flightNumber = flightNumber;
        this.tripType = tripType;
        this.pnrType = pnrType;
        this.pnr = pnr;
        this.passengerCount = passengerCount;
        this.salePrice = salePrice;
        this.luggagePrice = luggagePrice;
        this.points = points;
        this.purchaseCurrency = purchaseCurrency;
        this.purchasePrice_local = purchasePrice_local;
        this.purchasePrice_rmb = purchasePrice_rmb;
        this.transactionDetail_local = transactionDetail_local;
        this.transactionDetail_rmb = transactionDetail_rmb;
        this.payMethod = payMethod;
        this.cardNumber = cardNumber;
        this.profit = profit;
        this.transactionNumber = transactionNumber;
        this.orderValueAddedNo = orderValueAddedNo;
        this.purchaseChannel = purchaseChannel;
        this.purchaseAccount = purchaseAccount;
        this.purchaseOrderNo = purchaseOrderNo;
        this.policyType = policyType;
        this.policyCode = policyCode;
        this.orderStatus = orderStatus;
        this.operator = operator;
        this.purchaseTime = purchaseTime;
        this.orderValueAdded = orderValueAdded;
        this.orderValueAddedSpecific = orderValueAddedSpecific;
        this.remark = remark;
        this.officalReceivedPaymentStatus = officalReceivedPaymentStatus;
        this.officalActualExpendAmount = officalActualExpendAmount;
        this.officalBalance = officalBalance;
        this.officalRateAdjustDate = officalRateAdjustDate;
        this.passengerNames = passengerNames;
        this.adultCount = adultCount;
        this.childCount = childCount;
    }

    @Override
    public String toString() {
        return "SaleDetail{" +
                "id='" + id + '\'' +
                ", key='" + key + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", sortIndex=" + sortIndex +
                ", createOrderTime=" + createOrderTime +
                ", ticketTime=" + ticketTime +
                ", outerOrderNo='" + outerOrderNo + '\'' +
                ", channel='" + channel + '\'' +
                ", store='" + store + '\'' +
                ", tairLine='" + tairLine + '\'' +
                ", flightTime='" + flightTime + '\'' +
                ", flightNumber='" + flightNumber + '\'' +
                ", tripType='" + tripType + '\'' +
                ", pnrType='" + pnrType + '\'' +
                ", pnr='" + pnr + '\'' +
                ", passengerCount=" + passengerCount +
                ", salePrice=" + salePrice +
                ", luggagePrice=" + luggagePrice +
                ", points=" + points +
                ", purchaseCurrency='" + purchaseCurrency + '\'' +
                ", purchasePrice_local=" + purchasePrice_local +
                ", purchasePrice_rmb=" + purchasePrice_rmb +
                ", transactionDetail_local=" + transactionDetail_local +
                ", transactionDetail_rmb=" + transactionDetail_rmb +
                ", payMethod='" + payMethod + '\'' +
                ", cardNumber='" + cardNumber + '\'' +
                ", profit=" + profit +
                ", transactionNumber='" + transactionNumber + '\'' +
                ", orderValueAddedNo='" + orderValueAddedNo + '\'' +
                ", purchaseChannel='" + purchaseChannel + '\'' +
                ", purchaseAccount='" + purchaseAccount + '\'' +
                ", purchaseOrderNo='" + purchaseOrderNo + '\'' +
                ", policyType='" + policyType + '\'' +
                ", policyCode='" + policyCode + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                ", operator='" + operator + '\'' +
                ", purchaseTime=" + purchaseTime +
                ", orderValueAdded='" + orderValueAdded + '\'' +
                ", orderValueAddedSpecific='" + orderValueAddedSpecific + '\'' +
                ", remark='" + remark + '\'' +
                ", officalReceivedPaymentStatus='" + officalReceivedPaymentStatus + '\'' +
                ", officalActualExpendAmount=" + officalActualExpendAmount +
                ", officalBalance=" + officalBalance +
                ", officalRateAdjustDate=" + officalRateAdjustDate +
                ", passengerNames='" + passengerNames + '\'' +
                ", adultCount=" + adultCount +
                ", childCount=" + childCount +
                '}';
    }
}