package com.yeejoin.equipmanage.common.entity.publics;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.function.ToLongFunction;

/**
 * DTO基础实体
 * @author ZeHua Li
 * @date 2020/8/28 10:52
 * @since v2.0
 */
@Data
public class BaseDTO<T> {

    @ApiModelProperty(value = "分页 ")
    Page<T> page;

    @ApiModelProperty(value = "主键 ")
    private String id;

    @ApiModelProperty(value = "创建时间 ")
    private Date createDate;
}
