You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
2.6 KiB
C#
109 lines
2.6 KiB
C#
using DS.Module.Core;
|
|
using SqlSugar;
|
|
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 CheckBillTemplateReq
|
|
{
|
|
/// <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 string Note { get; set; } = "";
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
/// <summary>
|
|
/// 模板明细
|
|
/// </summary>
|
|
public List<CheckBillTemplateFeeReq> FeeList { get; set; }
|
|
/// <summary>
|
|
/// 模板排序
|
|
/// </summary>
|
|
public List<CheckBillTemplateSortReq> SortList { get; set; }
|
|
}
|
|
/// <summary>
|
|
/// 模板明细
|
|
/// </summary>
|
|
public class CheckBillTemplateFeeReq {
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
public long Id { get; set; }
|
|
public long TemplateId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 收付类型(收、付) 1应收 2 应付
|
|
/// </summary>
|
|
public FeeType FeeType { get; set; }
|
|
|
|
/// <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 CheckBillTemplateSortReq
|
|
{
|
|
/// <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 int? OrderNo { get; set; } = 100;
|
|
}
|
|
}
|