package com.shkj.wms.bo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.shkj.common.core.domain.BaseEntity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * 批次分页查询对象 sys_batch
 *
 * @author lch
 * @date 2022-04-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysBatchQueryBo extends BaseEntity {

	/** 分页大小 */
	private Integer pageSize;

	/** 当前页数 */
	private Integer pageNum;

	/** 排序列 */
	private String orderByColumn;

	/** 排序的方向desc或者asc */
	private String isAsc;


	/**
	 * 商品ID
	 */
	private Long goodId;

	/**
	 * 货主ID
	 */
	private Long consignorId;

	/**
	 * 包装ID
	 */
	private Long packageId;

	/**
	 * 批号
	 */
	private String batchNo;

	/**
	 * 生产日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date productionDate;

	/**
	 * 有效期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date expiredDate;

	/**
	 * 厂家
	 */
	private String factory;

	/**
	 * 生产地
	 */
	private String waster;

	/**
	 * 仓ID
	 */
	private Long branchId;


}
