package com.qqchen.deploy.backend.framework.dto;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Map;

@Data
public class BaseDTO implements Serializable {

    private Long id;

    private LocalDateTime createTime;

    private String createBy;

    private LocalDateTime updateTime;

    private String updateBy;

    private Integer version = 1;

    private Boolean deleted = false;

    // 扩展字段，用于存储额外的属性
    private Map<String, Object> extraData;
} 