10 changed files with 166 additions and 10 deletions
@ -0,0 +1,31 @@
|
||||
package com.air.housing.dto; |
||||
|
||||
import com.air.housing.entity.HousingEstates; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @author zeb. |
||||
* Created by zeb on 2021/6/9. |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode |
||||
@ApiModel |
||||
public class HousingEstatesQuery { |
||||
@ApiModelProperty(value = "公告id") |
||||
private String annoId; |
||||
@ApiModelProperty(value = "楼盘名称") |
||||
private String name; |
||||
@ApiModelProperty(value = "大组团") |
||||
private String bigGroup; |
||||
@ApiModelProperty(value = "小组团") |
||||
private String smallGroup; |
||||
@ApiModelProperty(value = "日期,格式yyyy-MM-dd") |
||||
private String createDate; |
||||
} |
@ -0,0 +1,31 @@
|
||||
package com.air.housing.vo; |
||||
|
||||
import com.air.housing.entity.HousingEstates; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @author zeb. |
||||
* Created by zeb on 2021/6/9. |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
@ApiModel |
||||
public class HousingEstatesListVO extends HousingEstates { |
||||
@ApiModelProperty(value = "其他编号") |
||||
private String otherNo; |
||||
@ApiModelProperty(value = "大组团") |
||||
private String bigGroup; |
||||
@ApiModelProperty(value = "小组团") |
||||
private String smallGroup; |
||||
@ApiModelProperty(value = "日期,格式yyyy-MM-dd") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
private LocalDateTime createDate; |
||||
} |
Loading…
Reference in new issue