|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using NPOI.SS.Formula.Functions;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Code.Dtos
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对账模板详情返回
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class CheckBillTemplateInfoRes
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对账模板名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对账模板英文名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public string EnName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 录入时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 录入人Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public long CreateBy { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 录入人
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public string CreateByName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Note { get; set; } = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板明细
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<CheckBillTemplateFeeRes> FeeList { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板排序
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<CheckBillTemplateSortRes> SortList { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板明细
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class CheckBillTemplateFeeRes
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
public long TemplateId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收付类型(收、付) 1应收 2 应付
|
|
|
|
|
/// </summary>
|
|
|
|
|
public FeeType FeeType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收付类型名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FeeTypeName
|
|
|
|
|
{
|
|
|
|
|
get { return FeeType == FeeType.Receivable ? "应收" : "应付"; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long FeeId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FeeName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Currency { get; set; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板排序
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class CheckBillTemplateSortRes
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long TemplateId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序字段
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FieldName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序类型 0 升序 1降序
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ListSortDirection FieldSort { get; set; } = ListSortDirection.Ascending;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收付类型名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FieldSortName
|
|
|
|
|
{
|
|
|
|
|
get { return FieldSort == ListSortDirection.Ascending ? "升序" : "降序"; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? OrderNo { get; set; } = 100;
|
|
|
|
|
}
|
|
|
|
|
}
|