Commit 3522a916 authored by maoying's avatar maoying

Merge branch 'develop_dl' into temp

parents 04913a24 0ed0f25e
package com.yeejoin.amos.fas.dao.entity; package com.yeejoin.amos.fas.dao.entity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener; import org.springframework.data.jpa.domain.support.AuditingEntityListener;
...@@ -25,6 +27,7 @@ public class BasicEntity /*extends Resource*/ implements Serializable{ ...@@ -25,6 +27,7 @@ public class BasicEntity /*extends Resource*/ implements Serializable{
/** /**
* id * id
*/ */
@JsonSerialize(using = ToStringSerializer.class)
private long id; private long id;
@CreatedDate @CreatedDate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment