package com.softwarebr.nunu.json.admin.go;

import com.alibaba.fastjson.annotation.JSONField;
import com.brframework.commoncms.annatotion.column.DateTimeBetweenColumn;
import com.brframework.commoncms.annatotion.column.SelectColumn;
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;

/**
 * @date 2020-02-21 10:49:24
 * @author lilin
 */

@Data
@ApiModel
public class PolicyApplyQueryParam {

    @ApiModelProperty(value = "账号", example = "")
    private String account;

    @ParamQuery
    @ApiModelProperty(value = "申报人", hidden = true, example = "")
    private Long memberId;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ParamQuery(expression = QueryExpression.betweenDate, betweenKey = "createDate")
    @DateTimeBetweenColumn
    @ApiModelProperty(value = "时间", example = "2018-03-12 21:32:33")
    private String createDate;

    @ParamQuery
    @ApiModelProperty(value = "服务状态(1待受理 2受理中 3服务完成)", example = "")
    @SelectColumn(options = {"1,待受理", "2,受理中", "3,服务完成"})
    private Integer status;


}