microservices-event-sourcing-master/order-service/src/main/java/com/timeyang/data/BaseEntityDto.java
package com.timeyang.data;

import java.io.Serializable;

/**
 * @author yangck
 */
public class BaseEntityDto implements Serializable {
    private Long createdAt;
    private Long lastModified;

    public Long getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Long createdAt) {
        this.createdAt = createdAt;
    }

    public Long getLastModified() {
        return lastModified;
    }

    public void setLastModified(Long lastModified) {
        this.lastModified = lastModified;
    }

    @Override
    public String toString() {
        return "BaseEntity{" +
                "createdAt=" + createdAt +
                ", lastModified=" + lastModified +
                '}';
    }
}
