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
{
///
/// 对账模板请求
///
public class CheckBillTemplateReq
{
///
/// 主键Id
///
public long Id { get; set; }
///
/// 对账模板名称
///
public string Name { get; set; }
///
/// 对账模板英文名称
///
public string EnName { get; set; }
///
/// 备注
///
public string Note { get; set; } = "";
///
/// 状态
///
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
///
/// 模板明细
///
public List FeeList { get; set; }
///
/// 模板排序
///
public List SortList { get; set; }
}
///
/// 模板明细
///
public class CheckBillTemplateFeeReq {
///
/// 主键Id
///
public long Id { get; set; }
public long TemplateId { get; set; }
///
/// 收付类型(收、付) 1应收 2 应付
///
public FeeType FeeType { get; set; }
///
/// 费用Id
///
public long FeeId { get; set; }
///
/// 费用名称
///
public string FeeName { get; set; }
///
/// 币别
///
public string Currency { get; set; }
}
///
/// 模板排序
///
public class CheckBillTemplateSortReq
{
///
/// 主键Id
///
public long Id { get; set; }
///
/// 模板Id
///
public long TemplateId { get; set; }
///
/// 排序字段
///
public string FieldName { get; set; }
///
/// 排序类型 0升序 1降序
///
public ListSortDirection FieldSort { get; set; } = ListSortDirection.Ascending;
///
/// 排序号
///
public int? OrderNo { get; set; } = 100;
}
}