fuliqi
2024-08-30 4edf419e4beed7e17c99aecc7860691c2b9a7196
ycl-pojo/src/main/java/com/ycl/platform/domain/result/BaseResult.java
@@ -2,16 +2,19 @@
import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.Id;
import java.time.LocalDate;
import java.util.Date;
@Data
public class BaseResult {
    @Id
    private ObjectId id;
    private ObjectId mongoId;
    /**
     * 数据日期
     */
    private Date createTime;
    @CreatedDate
    private LocalDate mongoCreateTime;
}