package com.gxwebsoft.tower.param;

import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 派单审核查询参数
 *
 * @author 科技小王子
 * @since 2023-08-21 00:46:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerWorksheetAuditParam对象", description = "派单审核查询参数")
public class TowerWorksheetAuditParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @QueryField(type = QueryType.EQ)
    private Integer worksheetAuditId;

    @QueryField(type = QueryType.EQ)
    private Integer worksheetId;

    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @ApiModelProperty(value = "0待审核1已通过2已拒绝")
    @QueryField(type = QueryType.EQ)
    private Boolean status;

    @ApiModelProperty(value = "拒绝原因")
    private String refuseReason;

}
