package com.xunhong.erp.turbo.api.biz.dto.qry;

import com.baomidou.mybatisplus.annotation.TableField;
import com.xunhong.erp.turbo.api.biz.dto.enums.DealerTypeEnum;
import com.xunhong.erp.turbo.base.dto.Query;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "经销商表列表查询")
@EqualsAndHashCode(callSuper = true)
public class DealerListQry extends Query {

	@Schema(title = "经销商表ID", type = "string")
	private Long dealerId;

	/**
	 * 经销商简称
	 */
	@Schema(title = "经销商简称")
	private String shortName;

	/**
	 * 经销商类型：1_市场；2_超市；
	 */
	@TableField(value = "dealer_type")
	private DealerTypeEnum dealerType;
}

