package cn.superdesk.uniorder.dto.param.accounting.unified.supplier;

import cn.superdesk.uniorder.common.pagination.AnBaseQueryCriteria;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * @Description: 供应商结算2.0 对账单列表 查询
 * <p>
 * AccountingOrderScoreCustomerQueryCriteria
 * AccountingOrderUnifiedSupplierQueryCriteria
 * @Author: linjinyu
 * @CreateDate: 2021/12/20 下午2:42
 * @UpdateUser: linjinyu
 * @UpdateDate: 2021/12/20 下午2:42
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
@Data
@ToString
public class AccountingOrderUnifiedSupplierQueryCriteria extends AnBaseQueryCriteria {

//	Map<String, Object> params = new HashMap<>();
//
//	// 组合的 下拉选择的
//	params.put("accountingOrderSn", getString("accountingOrderSn"));
//	params.put("orderSn", getString("orderSn"));

    //	@ApiModelProperty(value = "账单id 1. 一般 accounting_unified_supplier.id 2. 积分 accounting_unified_supplier.id")
//	private Long accountingOrderId;
    @ApiModelProperty("结算单 Ids")
    private List<Long> accountingOrderIds;


    @ApiModelProperty("对账单Sn accountingOrderSn accounting_order_sn")
    private String accountingOrderSn;
    @ApiModelProperty(value = "订单号")
    private String orderSn;

//	// 供应商名称
//	params.put("supplierId", getLong("supplierId"));
//	params.put("supplierName", getString("supplierName"));

    @ApiModelProperty("供应商Id")
    private Long   supplierId;
    @ApiModelProperty("供应商名称")
    private String supplierName;


//	// 对账单状态
//	params.put("accountingStatus", getString("accountingStatus"));
//	// 开票状态
//	params.put("invoiceStatus", getString("invoiceStatus"));

    @ApiModelProperty("对账单状态|对映-账单状态")
    private Integer accountingStatus;
    @ApiModelProperty("对账单开票申请状态|对映-申请状态")
    private Integer invoiceStatus;


//	// 对账时间
//	params.put("startTime", getString("startTime"));
//	params.put("endTime", getString("endTime"));

    @ApiModelProperty("对账时间 时间范围 startTime: 2021-07-02")
    private String startTime;
    @ApiModelProperty("对账时间 时间范围 endTime: 2021-07-03")
    private String endTime;

    @ApiModelProperty("引用Enum CommonSourceFromEnum-支持多选")
    private List<String> sourceFromsSelected;
    @ApiModelProperty("引用Enum CommonServiceNoEnum-支持多选")
    private List<String> serviceNosSelected;


    @ApiModelProperty(value = "")
    private Integer needReviseMark;
}
