package com.gxwebsoft.shop.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 2022-11-30 16:32:25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "MerchantClerkParam对象", description = "商家门店店员表查询参数")
public class MerchantClerkParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商户人员ID")
    @QueryField(type = QueryType.EQ)
    private Integer clerkId;

    @ApiModelProperty(value = "关联商户编号")
    private String merchantCode;

    @ApiModelProperty(value = "关联商户编号")
    @QueryField(type = QueryType.LIKE)
    private String merchantName;

    @ApiModelProperty(value = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @ApiModelProperty(value = "是否为商户主")
    @QueryField(type = QueryType.EQ)
    private Integer isOwner;

}
