package com.java110.dto.importData; /** * 业主催缴信息 DTO(所有字段均为 String 类型) * 对应数据库表:owner_collection */ public class OwnerCollectionDto { private String collectionId; private String ownerId; private String roomId; private String collectionStartDate; private String collectionEndDate; private String amount; private String firstCollector; private String secondCollectorName; private String secondCollectorPhone; private String secondCollectorAddress; private String receiptNumber; private String receiptPhotoUrl; private String remark; private String createTime; private String updateTime; // 无参构造函数 public OwnerCollectionDto() {} // 全参构造函数(可选,根据业务需求调整) public OwnerCollectionDto(String collectionId, String ownerId, String collectionStartDate, String collectionEndDate, String amount, String firstCollector, String secondCollectorName, String secondCollectorPhone, String secondCollectorAddress, String receiptNumber, String receiptPhotoUrl, String remark, String createTime, String updateTime) { this.collectionId = collectionId; this.ownerId = ownerId; this.collectionStartDate = collectionStartDate; this.collectionEndDate = collectionEndDate; this.amount = amount; this.firstCollector = firstCollector; this.secondCollectorName = secondCollectorName; this.secondCollectorPhone = secondCollectorPhone; this.secondCollectorAddress = secondCollectorAddress; this.receiptNumber = receiptNumber; this.receiptPhotoUrl = receiptPhotoUrl; this.remark = remark; this.createTime = createTime; this.updateTime = updateTime; } // 所有字段的 getter/setter 方法 public String getCollectionId() { return collectionId; } public void setCollectionId(String collectionId) { this.collectionId = collectionId; } public String getOwnerId() { return ownerId; } public void setOwnerId(String ownerId) { this.ownerId = ownerId; } public String getRoomId() { return roomId; } public void setRoomId(String roomId) { this.roomId = roomId; } public String getCollectionStartDate() { return collectionStartDate; } public void setCollectionStartDate(String collectionStartDate) { this.collectionStartDate = collectionStartDate; } public String getCollectionEndDate() { return collectionEndDate; } public void setCollectionEndDate(String collectionEndDate) { this.collectionEndDate = collectionEndDate; } public String getAmount() { return amount; } public void setAmount(String amount) { this.amount = amount; } public String getFirstCollector() { return firstCollector; } public void setFirstCollector(String firstCollector) { this.firstCollector = firstCollector; } public String getSecondCollectorName() { return secondCollectorName; } public void setSecondCollectorName(String secondCollectorName) { this.secondCollectorName = secondCollectorName; } public String getSecondCollectorPhone() { return secondCollectorPhone; } public void setSecondCollectorPhone(String secondCollectorPhone) { this.secondCollectorPhone = secondCollectorPhone; } public String getSecondCollectorAddress() { return secondCollectorAddress; } public void setSecondCollectorAddress(String secondCollectorAddress) { this.secondCollectorAddress = secondCollectorAddress; } public String getReceiptNumber() { return receiptNumber; } public void setReceiptNumber(String receiptNumber) { this.receiptNumber = receiptNumber; } public String getReceiptPhotoUrl() { return receiptPhotoUrl; } public void setReceiptPhotoUrl(String receiptPhotoUrl) { this.receiptPhotoUrl = receiptPhotoUrl; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } public String getCreateTime() { return createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } public String getUpdateTime() { return updateTime; } public void setUpdateTime(String updateTime) { this.updateTime = updateTime; } // toString 方法(方便日志打印) @Override public String toString() { return "OwnerCollectionDto{" + "collectionId='" + collectionId + '\'' + ", ownerId='" + ownerId + '\'' + ", collectionStartDate='" + collectionStartDate + '\'' + ", collectionEndDate='" + collectionEndDate + '\'' + ", amount='" + amount + '\'' + ", firstCollector='" + firstCollector + '\'' + ", secondCollectorName='" + secondCollectorName + '\'' + ", secondCollectorPhone='" + secondCollectorPhone + '\'' + ", secondCollectorAddress='" + secondCollectorAddress + '\'' + ", receiptNumber='" + receiptNumber + '\'' + ", receiptPhotoUrl='" + receiptPhotoUrl + '\'' + ", remark='" + remark + '\'' + ", createTime='" + createTime + '\'' + ", updateTime='" + updateTime + '\'' + '}'; } }