xiangpei
2024-08-29 3e9a6da99aae968123ee7bca352fc08becd7f1f2
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;
}