/*
 * Copyright ©2023 CJB-CNIT Team. All rights reserved
 */
package com.openhis.web.materialmanage.dto;

import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 单据查询条件
 *
 * @author  yuxj
 * @date 2025-07-22
 */
@Data
@Accessors(chain = true)
public class MaterialSearchParam implements Serializable {

    /** id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /** 单据号 */
    private String busNo;

    /** 采购员 */
    private String applicantName;

    /** 项目名 */
    private String name;

    /** 拼音码 */
    private String pyStr;

    /** 供应商id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long supplierId;

    /** 仓库类型 */
    private Integer locationTypeEnum;
    
    /** 仓库 */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long locationId;

    /** 类型 */
    private Integer typeEnum;

    /** 单据状态 */
    private Integer statusEnum;


    /** 再生成单据号flg */
    private String originalBusNoFlg;
}
