using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using wcftest.EnumDefine.Search;
namespace wcftest.EnumDefine
{
public class stockSearchEntity : BaseSearchEntity
{
///
/// 查询条码枚举
///
public QueryBarCodeFlagEnum? QueryBarCodeFlagValue { get; set; }
/// 搜索参数
///
///
public searchparam search { get; set; }
/// 分页
///
///
public paging queryInfo { get; set; }
/// 货位类型
///
///
public int positionTypeValue { get; set; }
///
/// 是否预警
///
public int alarmValue { get; set; }
/// 时间范围
///
///
public DateTime[] datatime { get; set; }
///
/// 过期时间
///
public DateTime[] datatime_limit { get; set; }
stockSearchEntity()
{
positionTypeValue = 0;
queryInfo = new paging();
}
///
/// 在库天数筛选条件
///
public string inStoreDaysFilterTypeValue { get; set; }
///
/// 在库天数
///
public string inStoreDaysValue { get; set; }
}
public class searchparam
{
///
/// 查询条码
///
public string BarCode { get; set; }
public string materialName { get; set; }
public string materialCode { get; set; }
public string purchaseCode { get; set; }
public string positionName { get; set; }
public string placeCode { get; set; }
public string tranckNnmber { get; set; }
public string saleCode { get; set; }
///
/// true:查询标记无货,false:查询标记有货
///
public bool IsFreeze { get; set; }
///
/// true:查询库存锁定,false:不查询库存锁定
///
public bool IsLocked { get; set; }
///
/// true:查询是否正在出库中,false:不查询是否正在出库中
///
public bool ContainerNo { get; set; }
///
/// true:查询 仅锁定,非出库中,false:不查询 仅锁定,非出库中
///
public bool OnlyLocked { get; set; }
///
/// 表示已过期
///
public bool Expired { get; set; }
///
/// 表示即将在几天内过期 eg:30天
///
public int Days { get; set; }
///
/// 创建人
///
public string creator { get; set; }
}
}