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

import com.xunhong.erp.turbo.api.biz.dto.enums.SupplierTypeEnum;
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 SupplierListQry extends Query {

	@Schema(title = "供应商ID", type = "string")
	private Long supplierId;

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

	@Schema(title = "供应商名称", type = "string")
	private String name;

	/**
	 * 供应商类型：1_瓜农；2_自家档口；3_其他家档口
	 */
	@Schema(title = "供应商类型：1_瓜农；2_自家档口；3_其他家档口")
	private SupplierTypeEnum type;

	/**
	 * 状态：1_启用；0_禁用；
	 */
	@Schema(title = "状态：1_启用；0_禁用；")
	private Boolean status;
}

