|
|
|
@ -1,13 +1,16 @@
|
|
|
|
|
package com.luoo.user.vo.store;
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
import com.luoo.user.pojo.Region;
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.Value;
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* DTO for {@link com.luoo.user.pojo.Store}
|
|
|
|
@ -57,13 +60,22 @@ public class StorePCVO implements Serializable {
|
|
|
|
|
@ApiModelProperty(value = "门店介绍")
|
|
|
|
|
String description;
|
|
|
|
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@ApiModelProperty("创建时间")
|
|
|
|
|
LocalDateTime createTime;
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "门店状态 1-合作中 2-停止合作")
|
|
|
|
|
private Integer status;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
Region region;
|
|
|
|
|
|
|
|
|
|
public StorePCVO() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public StorePCVO(String id, String name, Integer regionId, String address, String lng, String lat, String contact, String phone, String tel, String openingHours, String background, String description) {
|
|
|
|
|
public StorePCVO(String id, String name, Integer regionId, String address, String lng, String lat, String contact, String phone, String tel, String openingHours, String background, String description, LocalDateTime createTime, Integer status) {
|
|
|
|
|
this.id = id;
|
|
|
|
|
this.name = name;
|
|
|
|
|
this.regionId = regionId;
|
|
|
|
@ -76,5 +88,7 @@ public class StorePCVO implements Serializable {
|
|
|
|
|
this.openingHours = openingHours;
|
|
|
|
|
this.background = background;
|
|
|
|
|
this.description = description;
|
|
|
|
|
this.createTime = createTime;
|
|
|
|
|
this.status = status;
|
|
|
|
|
}
|
|
|
|
|
}
|