VisitListDto.java 13.1 KB
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
package com.chinagas.modules.schsf.domain.dto;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

@ExcelIgnoreUnannotated
public class VisitListDto {
    /**
     * 入户时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "入户时间")
    @ColumnWidth(26)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private LocalDateTime entryTime;

    /**
     * 收费人名称
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "收费人员")
    private String billingPersonName;


    /**
     * 工作性质(兼职/全职)
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "兼职/全职")
    private String jobNature;

    /**
     * 公司名称
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "项目公司")
    private String companyName;


    /**
     * 客户-省
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "省")
    private String userProvince;

    /**
     * 客户-市
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "市")
    private String userCity;

    /**
     * 客户-区
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "县/区")
    private String userDistrict;

    /**
     * 客户-街道
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "乡镇/街道")
    private String userStreet;

    /**
     * 村(小区)
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "村/小区")
    private String vlgOrCmty;

    /**
     * 客户-详细地址
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "详细地址")
    private String userDetailedAddress;


    /**
     * 客户-户名
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "户名")
    private String userName;

    /**
     * 客户-电话
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "联系电话")
    private String userPhone;

    /**
     * 是否有意向
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "是否有意向")
    private String isIntent;


    /**
     * 房屋情况
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "房屋情况")
    private String houseCondition;

    /**
     * 现用做饭能源
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "现用做饭能源")
    private String currentCookingEnergy;

    /**
     * 现用取暖能源
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "现用取暖能源")
    private String currentHeatingEnergy;

    /**
     * 家庭人口情况
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "家庭人口情况")
    private String familyMembers;

    /**
     * 电冰箱
     */
    @ColumnWidth(20)
    @ExcelProperty(value = {"家电配置", "电冰箱"})
    private String fridgeStatus;

    /**
     * 空调
     */
    @ColumnWidth(20)
    @ExcelProperty(value = {"家电配置", "空调"})
    private String acStatus;

    /**
     * 电视
     */
    @ColumnWidth(20)
    @ExcelProperty(value = {"家电配置", "电视"})
    private String tvStatus;

    /**
     * 洗衣机
     */
    @ColumnWidth(20)
    @ExcelProperty(value = {"家电配置", "洗衣机"})
    private String washerStatus;

    /**
     * 热水器
     */
    @ColumnWidth(20)
    @ExcelProperty(value = {"家电配置", "热水器"})
    private String waterHeaterStatus;

    /**
     * 光伏
     */
    @ExcelProperty(value = {"家电配置", "光伏"})
    private String pvSystemStatus;

    /**
     * 是否获取决策人信息
     */
    @ExcelProperty(value = "是否获取决策人信息")
    private String hasDm;

    /**
     * 决策人年龄
     */
    @ExcelProperty(value = "决策人年龄")
    private String dmAge;

    /**
     * 决策人收入来源
     */
    @ExcelProperty(value = "决策人收入来源")
    private String dmIncomeSrc;

    /**
     * 决策人联系方式
     */
    @ExcelProperty(value = "决策人联系方式")
    private String dmPhone;

    @ExcelProperty(value = "备注")
    private String remark;

    @ExcelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ColumnWidth(26)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;


    public LocalDateTime getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(LocalDateTime entryTime) {
        this.entryTime = entryTime;
    }

    public String getBillingPersonName() {
        return billingPersonName;
    }

    public void setBillingPersonName(String billingPersonName) {
        this.billingPersonName = billingPersonName;
    }

    public String getJobNature() {
        return jobNature;
    }

    public void setJobNature(String jobNature) {
        this.jobNature = jobNature;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getUserProvince() {
        return userProvince;
    }

    public void setUserProvince(String userProvince) {
        this.userProvince = userProvince;
    }

    public String getUserCity() {
        return userCity;
    }

    public void setUserCity(String userCity) {
        this.userCity = userCity;
    }

    public String getUserDistrict() {
        return userDistrict;
    }

    public void setUserDistrict(String userDistrict) {
        this.userDistrict = userDistrict;
    }

    public String getUserStreet() {
        return userStreet;
    }

    public void setUserStreet(String userStreet) {
        this.userStreet = userStreet;
    }


    public String getVlgOrCmty() {
        return vlgOrCmty;
    }

    public void setVlgOrCmty(String vlgOrCmty) {
        this.vlgOrCmty = vlgOrCmty;
    }

    public String getUserDetailedAddress() {
        return userDetailedAddress;
    }

    public void setUserDetailedAddress(String userDetailedAddress) {
        this.userDetailedAddress = userDetailedAddress;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getIsIntent() {
        return isIntent;
    }

    public void setIsIntent(String isIntent) {
        this.isIntent = isIntent;
    }

    public String getHouseCondition() {
        return houseCondition;
    }

    public void setHouseCondition(String houseCondition) {
        this.houseCondition = houseCondition;
    }

    public String getCurrentCookingEnergy() {
        return currentCookingEnergy;
    }

    public void setCurrentCookingEnergy(String currentCookingEnergy) {
        this.currentCookingEnergy = currentCookingEnergy;
    }

    public String getCurrentHeatingEnergy() {
        return currentHeatingEnergy;
    }

    public void setCurrentHeatingEnergy(String currentHeatingEnergy) {
        this.currentHeatingEnergy = currentHeatingEnergy;
    }

    public String getFamilyMembers() {
        return familyMembers;
    }

    public void setFamilyMembers(String familyMembers) {
        this.familyMembers = familyMembers;
    }

    public String getFridgeStatus() {
        return fridgeStatus;
    }

    public void setFridgeStatus(String fridgeStatus) {
        this.fridgeStatus = fridgeStatus;
    }

    public String getAcStatus() {
        return acStatus;
    }

    public void setAcStatus(String acStatus) {
        this.acStatus = acStatus;
    }

    public String getTvStatus() {
        return tvStatus;
    }

    public void setTvStatus(String tvStatus) {
        this.tvStatus = tvStatus;
    }

    public String getWasherStatus() {
        return washerStatus;
    }

    public void setWasherStatus(String washerStatus) {
        this.washerStatus = washerStatus;
    }

    public String getWaterHeaterStatus() {
        return waterHeaterStatus;
    }

    public void setWaterHeaterStatus(String waterHeaterStatus) {
        this.waterHeaterStatus = waterHeaterStatus;
    }

    public String getPvSystemStatus() {
        return pvSystemStatus;
    }

    public void setPvSystemStatus(String pvSystemStatus) {
        this.pvSystemStatus = pvSystemStatus;
    }

    public String getHasDm() {
        return hasDm;
    }

    public void setHasDm(String hasDm) {
        this.hasDm = hasDm;
    }

    public String getDmAge() {
        return dmAge;
    }

    public void setDmAge(String dmAge) {
        this.dmAge = dmAge;
    }

    public String getDmIncomeSrc() {
        return dmIncomeSrc;
    }

    public void setDmIncomeSrc(String dmIncomeSrc) {
        this.dmIncomeSrc = dmIncomeSrc;
    }

    public String getDmPhone() {
        return dmPhone;
    }

    public void setDmPhone(String dmPhone) {
        this.dmPhone = dmPhone;
    }

    public String getRemark() {
        return remark;
    }

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

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

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

    @Override
    public String toString() {
        return "visitListDto{" +
                "entryTime=" + entryTime +
                ", billingPersonName='" + billingPersonName + '\'' +
                ", jobNature='" + jobNature + '\'' +
                ", companyName='" + companyName + '\'' +
                ", userProvince='" + userProvince + '\'' +
                ", userCity='" + userCity + '\'' +
                ", userDistrict='" + userDistrict + '\'' +
                ", userStreet='" + userStreet + '\'' +
                ", vlgOrCmty='" + vlgOrCmty + '\'' +
                ", userDetailedAddress='" + userDetailedAddress + '\'' +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", isIntent='" + isIntent + '\'' +
                ", houseCondition='" + houseCondition + '\'' +
                ", currentCookingEnergy='" + currentCookingEnergy + '\'' +
                ", currentHeatingEnergy='" + currentHeatingEnergy + '\'' +
                ", familyMembers='" + familyMembers + '\'' +
                ", fridgeStatus='" + fridgeStatus + '\'' +
                ", acStatus='" + acStatus + '\'' +
                ", tvStatus='" + tvStatus + '\'' +
                ", washerStatus='" + washerStatus + '\'' +
                ", waterHeaterStatus='" + waterHeaterStatus + '\'' +
                ", pvSystemStatus='" + pvSystemStatus + '\'' +
                ", hasDm='" + hasDm + '\'' +
                ", dmAge='" + dmAge + '\'' +
                ", dmIncomeSrc='" + dmIncomeSrc + '\'' +
                ", dmPhone='" + dmPhone + '\'' +
                ", remark='" + remark + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }

    public VisitListDto() {
    }

    public VisitListDto(
            LocalDateTime entryTime,
            String billingPersonName,
            String jobNature,
            String companyName,
            String userProvince,
            String userCity,
            String userDistrict,
            String userStreet,
            String vlgOrCmty,
            String userDetailedAddress,
            String userName,
            String userPhone,
            String isIntent,
            String houseCondition,
            String currentCookingEnergy,
            String currentHeatingEnergy,
            String familyMembers,
            String fridgeStatus,
            String acStatus,
            String tvStatus,
            String washerStatus,
            String waterHeaterStatus,
            String pvSystemStatus,
            String hasDm,
            String dmAge,
            String dmIncomeSrc,
            String dmPhone,
            String remark,
            LocalDateTime updateTime) {
        this.entryTime = entryTime;
        this.billingPersonName = billingPersonName;
        this.jobNature = jobNature;
        this.companyName = companyName;
        this.userProvince = userProvince;
        this.userCity = userCity;
        this.userDistrict = userDistrict;
        this.userStreet = userStreet;
        this.vlgOrCmty = vlgOrCmty;
        this.userDetailedAddress = userDetailedAddress;
        this.userName = userName;
        this.userPhone = userPhone;
        this.isIntent = isIntent;
        this.houseCondition = houseCondition;
        this.currentCookingEnergy = currentCookingEnergy;
        this.currentHeatingEnergy = currentHeatingEnergy;
        this.familyMembers = familyMembers;
        this.fridgeStatus = fridgeStatus;
        this.acStatus = acStatus;
        this.tvStatus = tvStatus;
        this.washerStatus = washerStatus;
        this.waterHeaterStatus = waterHeaterStatus;
        this.pvSystemStatus = pvSystemStatus;
        this.hasDm = hasDm;
        this.dmAge = dmAge;
        this.dmIncomeSrc = dmIncomeSrc;
        this.dmPhone = dmPhone;
        this.remark = remark;
        this.updateTime = updateTime;
    }
}