package fcb.project.manager.base.param.usedEstate;

import fcb.project.manager.base.param.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class QueryUsedEstate extends PageParam  {

    @ApiModelProperty(value = "房源id")
    private String roomid;

    @ApiModelProperty(value = "房车宝 - 小区id")
    private String gardenId;

    @ApiModelProperty(name = "number", value = "房车宝 - 小区编码",  dataType = "String")
    private String number;

    @ApiModelProperty(name = "gardenName",value = "房车宝 - 小区名称",  dataType = "String")
    private String gardenName;

    @ApiModelProperty(name = "areaName",value = "房车宝 - 片区/小区商圈",  dataType = "String")
    private String areaName;

    @ApiModelProperty(name = "cityName",value = "房车宝 - 城市名称",  dataType = "String")
    private String cityName;

    @ApiModelProperty(name = "buildYear",value = "房车宝 - 建造年代",  dataType = "String")
    private String buildYear;

    @ApiModelProperty(name = "propertyTypeName",value = "房车宝 - 物业类型",  dataType = "String")
    private String propertyTypeName;

    @ApiModelProperty(value = "查询类型  1：小区 2：房源")
    private String searchType;

    @ApiModelProperty(name = "createStartTime", value = "创建开始时间", dataType = "String")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createStartTime;

    @ApiModelProperty(name = "createStartTime", value = "创建结束时间", dataType = "String")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createEndTime;

    @ApiModelProperty(value = "更新人名称")
    private String updateByName;

    @ApiModelProperty(hidden = true)
    private String departmentId;

    @ApiModelProperty(hidden = true)
    private List<Integer> statues;

    @ApiModelProperty(name = "auditTimeStartTime", value = "审核开始时间", dataType = "String")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime auditTimeStartTime;

    @ApiModelProperty(name = "auditTimeEndTime", value = "审核结束时间", dataType = "String")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime auditTimeEndTime;

    @ApiModelProperty(value = "是否上线：1->上线;-0->下线")
    private String online;
}
