package com.trade.service.trade.salesorder.vo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.trade.common.core.dto.BaseSearch;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class SalesOrderInvoiceSearch extends BaseSearch {

    @ApiModelProperty(name = "customerUserId", value = "用户id")
    private Long customerUserId;
    @ApiModelProperty(name = "invoiceNo", value = "发票号")
    private String invoiceNo;
    @ApiModelProperty(name = "orderNo", value = "订单号")
    private String orderNo;
    @ApiModelProperty(name = "importerId", value = "进口商id")
    private Long importerId;
    @ApiModelProperty(name = "contractNo", value = "合同编号")
    private String contractNo;
    @ApiModelProperty(name = "agencyCertNo", value = "代理企业证件号")
    private String agencyCertNo;
    @ApiModelProperty(name = "createdTimeStart", value = "创建时间开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createdTimeStart;
    @ApiModelProperty(name = "createdTimeEnd", value = "创建时间结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createdTimeEnd;
    @ApiModelProperty(name = "userName", value = "客户企业名称/客户id")
    private String userName;
    @ApiModelProperty(name = "invoiceNoOrOrderNo", value = "发票号/订单号")
    private String invoiceNoOrOrderNo;
}
