package com.softwarebr.nunu.json.api.center;

import com.alibaba.fastjson.annotation.JSONField;
import com.brframework.commoncms.annatotion.column.DateTimeColumn;
import com.brframework.commondb.annotation.param.ParamQuery;
import com.brframework.commondb.annotation.param.QueryExpression;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lilin
 * @date 2020/2/26 10:26
 * @description:
 */
@Data
@ApiModel
public class ResPropertyQueryParam {

    @ParamQuery
    @ApiModelProperty(value = "出租省份", example = "")
    private Long provinceId;

    @ParamQuery
    @ApiModelProperty(value = "出租城市", example = "")
    private Long cityId;

    @ParamQuery
    @ApiModelProperty(value = "出租区县", example = "")
    private Long areaId;

    @ParamQuery
    @ApiModelProperty(value = "出租乡镇", required = true, example = "")
    private Long streetId;

    @ParamQuery(expression = QueryExpression.betweenDateStart, betweenKey = "startDate")
    @ApiModelProperty(value = "出租开始时间", example = "")
    private String startDate;

    @ParamQuery(expression = QueryExpression.betweenDateEnd, betweenKey = "endDate")
    @ApiModelProperty(value = "出租结束时间", example = "")
    private String endDate;

    @ParamQuery(expression = QueryExpression.like)
    @ApiModelProperty(value = "载体名称", example = "")
    private String name;

    @ParamQuery
    @ApiModelProperty(value = "发布者", hidden = true, example = "")
    private Long publisher;

    @ParamQuery
    @ApiModelProperty(value = "删除标记0.已删除 1.未删除", hidden = true, example = "")
    private Integer marker;

    @ParamQuery
    @ApiModelProperty(value = "是否上架(0下架 1上架) ", hidden = true, example = "")
    private Integer upperStatus;

}
