78 lines
2.1 KiB
C#
78 lines
2.1 KiB
C#
using BaseOUDAL;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace YLErp.Model
|
|
{
|
|
public class EntryExitApprovalQueryReq: BaseSearchReq
|
|
{
|
|
/// <summary>
|
|
/// 方向类型
|
|
/// </summary>
|
|
public string DirectionType { get; set; }
|
|
/// <summary>
|
|
/// 客户集合
|
|
/// </summary>
|
|
public string ClientIds { get; set; }
|
|
/// <summary>
|
|
/// 出入金单号
|
|
/// </summary>
|
|
public string Number { get; set; }
|
|
/// <summary>
|
|
/// 发生开始时间
|
|
/// </summary>
|
|
public DateTime? HappenDateStart { get; set; }
|
|
/// <summary>
|
|
/// 发生结束时间
|
|
/// </summary>
|
|
public DateTime? HappenDateEnd { get; set; }
|
|
/// <summary>
|
|
/// 操作者
|
|
/// </summary>
|
|
public string OptIds { get; set; }
|
|
/// <summary>
|
|
/// 操作开始时间
|
|
/// </summary>
|
|
public DateTime? OptDateStart { get; set; }
|
|
/// <summary>
|
|
/// 操作结束时间
|
|
/// </summary>
|
|
public DateTime? OptDateEnd { get; set; }
|
|
|
|
public List<int> OptIdLists
|
|
{
|
|
get
|
|
{
|
|
if (string.IsNullOrWhiteSpace(OptIds))
|
|
{
|
|
return new List<int>();
|
|
}
|
|
return (OptIds + "").Split(',').Select(c => Convert.ToInt32(c)).ToList();
|
|
}
|
|
}
|
|
|
|
public List<int> ClientIdsInt
|
|
{
|
|
get
|
|
{
|
|
if (string.IsNullOrWhiteSpace(ClientIds))
|
|
{
|
|
return new List<int>();
|
|
}
|
|
else
|
|
{
|
|
if (ClientIds.Substring(0, 1) == ",")
|
|
{
|
|
return new List<int>();
|
|
}
|
|
return ClientIds.Split(',').Select(c => Convert.ToInt32(c)).ToList();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|