|
|
@@ -9,6 +9,7 @@ import com.coffee.common.config.mybatis.DateToBigIntHandler;
|
|
|
import com.coffee.common.entity.GenericEntity;
|
|
|
import com.coffee.common.entity.RecordCreationEntity;
|
|
|
import com.coffee.common.entity.RecordModifierEntity;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
@@ -66,6 +67,8 @@ public class BusHospitalEntity extends GenericEntity<String> implements RecordMo
|
|
|
@Length(max = 255,message = "邮箱联系地址长度不得超过255个字节")
|
|
|
private String email;
|
|
|
|
|
|
+ private String remark;
|
|
|
+
|
|
|
/**
|
|
|
* 经纬度坐标
|
|
|
*/
|
|
|
@@ -79,15 +82,16 @@ public class BusHospitalEntity extends GenericEntity<String> implements RecordMo
|
|
|
private String updateBy;
|
|
|
|
|
|
@TableField(typeHandler = DateToBigIntHandler.class,fill = FieldFill.INSERT)
|
|
|
+ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date createTime;
|
|
|
|
|
|
@TableField(typeHandler = DateToBigIntHandler.class,fill = FieldFill.UPDATE)
|
|
|
+ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date updateTime;
|
|
|
|
|
|
@TableField(fill = FieldFill.INSERT)
|
|
|
@TableLogic(value = "0",delval = "1")
|
|
|
private Integer isDelete;
|
|
|
-
|
|
|
@Data
|
|
|
public static class GeoPoint{
|
|
|
private String lon;
|