|
@@ -5,6 +5,8 @@ import java.util.*;
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
import com.pj.common.core.annotation.Excel;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
@@ -47,6 +49,7 @@ public class TbPurchaser extends Model<TbPurchaser> implements Serializable {
|
|
|
*/
|
|
|
@Excel(name = "id")
|
|
|
@TableId(type = IdType.AUTO)
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
private Long id;
|
|
|
|
|
|
/**
|