坐标系的序列化、反序列化、类型处理
This commit is contained in:
parent
6562be93d8
commit
965ab735b2
@ -108,6 +108,7 @@ public class EbikeBikeInfo implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@Column(onInsertValue = "now()")
|
||||||
private Timestamp createdAt;
|
private Timestamp createdAt;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -118,6 +119,7 @@ public class EbikeBikeInfo implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 修改时间
|
* 修改时间
|
||||||
*/
|
*/
|
||||||
|
@Column(onUpdateValue = "now()")
|
||||||
private Timestamp updatedAt;
|
private Timestamp updatedAt;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -128,6 +130,7 @@ public class EbikeBikeInfo implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 删除与否
|
* 删除与否
|
||||||
*/
|
*/
|
||||||
|
@Column(isLogicDelete = true)
|
||||||
private Boolean isDeleted;
|
private Boolean isDeleted;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user