|
|
@ -1,22 +1,22 @@ |
|
|
|
using Magicodes.ExporterAndImporter.Core; |
|
|
|
using Microsoft.AspNetCore.Http; |
|
|
|
using System; |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using Magicodes.ExporterAndImporter.Core; |
|
|
|
using Microsoft.AspNetCore.Http; |
|
|
|
using Volo.Abp.Application.Dtos; |
|
|
|
using Volo.Abp.Domain.Entities.Auditing; |
|
|
|
|
|
|
|
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// PUB结算
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SA_DTO : EntityDto<Guid> |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// PUB结算
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SA_DTO : EntityDto<Guid> |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 期间
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "期间")] |
|
|
|
public int Version { get; set; } |
|
|
|
public string Version { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 结算单据
|
|
|
@ -29,24 +29,30 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "状态")] |
|
|
|
public string State { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 查询
|
|
|
|
/// 业务类型
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SARequestDto : RequestDto |
|
|
|
{ |
|
|
|
[Display(Name = "业务类型")] |
|
|
|
public BusinessType BusinessType { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 查询
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SARequestDto : RequestDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 业务类别
|
|
|
|
/// </summary>
|
|
|
|
public EnumBusinessType BusinessType { get; set; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 导入请求
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SAImportRequestDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 导入请求
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SAImportRequestDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 文件
|
|
|
|
/// </summary>
|
|
|
@ -62,19 +68,19 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "期间")] |
|
|
|
public int Version { get; set; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 直供件BBAC导入
|
|
|
|
/// </summary>
|
|
|
|
public class ZhiGongJianBBACImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 直供件BBAC导入
|
|
|
|
/// </summary>
|
|
|
|
public class ZhiGongJianBBACImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 结算日期
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "Pstng Date")] |
|
|
|
[ImporterHeader(Name = "Pstng Date")] |
|
|
|
public DateTime SettleDate { set; get; } |
|
|
|
public string SettleDate { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 客户零件号
|
|
|
@ -82,7 +88,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[Display(Name = "Material")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
[ImporterHeader(Name = "Material")] |
|
|
|
public string PartCode { get; set; } |
|
|
|
public string LU { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 生产号
|
|
|
@ -106,13 +112,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[ImporterHeader(Name = "Delivery")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
public string GroupNum { get; set; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 直供件HBPO导入
|
|
|
|
/// </summary>
|
|
|
|
public class ZhiGongJianHBPOImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 直供件HBPO导入
|
|
|
|
/// </summary>
|
|
|
|
public class ZhiGongJianHBPOImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 结算日期
|
|
|
|
/// </summary>
|
|
|
@ -126,7 +132,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[Display(Name = "零件号")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
[ImporterHeader(Name = "零件号")] |
|
|
|
public string PartCode { get; set; } |
|
|
|
public string LU { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 生产号
|
|
|
@ -150,13 +156,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[ImporterHeader(Name = "订单编号")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
public string GroupNum { get; set; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 买单件HBPO导入
|
|
|
|
/// </summary>
|
|
|
|
public class MaiDanJianHBPOImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 买单件HBPO导入
|
|
|
|
/// </summary>
|
|
|
|
public class MaiDanJianHBPOImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 结算日期
|
|
|
|
/// </summary>
|
|
|
@ -170,7 +176,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[Display(Name = "零件号")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
[ImporterHeader(Name = "零件号")] |
|
|
|
public string PartCode { get; set; } |
|
|
|
public string LU { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 生产号
|
|
|
@ -194,19 +200,19 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[ImporterHeader(Name = "五联单号")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
public string GroupNum { get; set; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 备件导入
|
|
|
|
/// </summary>
|
|
|
|
public class BeiJianImportDto : BeiJianExtraImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 备件导入
|
|
|
|
/// </summary>
|
|
|
|
public class BeiJianImportDto : BeiJianExtraImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 结算日期
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "结算日期")] |
|
|
|
[ImporterHeader(Name = "开票日期")] |
|
|
|
public DateTime SettleDate { set; get; } |
|
|
|
[ImporterHeader(Name = "零件时间")] |
|
|
|
public string SettleDate { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 客户零件号
|
|
|
@ -214,7 +220,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[Display(Name = "零件号")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
[ImporterHeader(Name = "零件号")] |
|
|
|
public string PartCode { get; set; } |
|
|
|
public string LU { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 生产号
|
|
|
@ -238,19 +244,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[ImporterHeader(Name = "凭证号")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
public string GroupNum { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// 备件扩展
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "备件扩展")]
|
|
|
|
//public BeiJianExtraImportDto beiJianExtraImportDto { get; set; }
|
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 备件扩展
|
|
|
|
/// </summary>
|
|
|
|
public class BeiJianExtraImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 备件扩展
|
|
|
|
/// </summary>
|
|
|
|
public class BeiJianExtraImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 交货号
|
|
|
|
/// </summary>
|
|
|
@ -265,6 +265,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[ImporterHeader(Name = "发票号")] |
|
|
|
public string InvoiceNumber { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 开票日期
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "开票日期")] |
|
|
|
[ImporterHeader(Name = "开票日期")] |
|
|
|
public DateTime? MakeDate { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 供应商代码
|
|
|
|
/// </summary>
|
|
|
@ -305,28 +312,28 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "价格")] |
|
|
|
[ImporterHeader(Name = "价格")] |
|
|
|
public decimal Price { set; get; } |
|
|
|
public decimal? Price { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 金额
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "金额")] |
|
|
|
[ImporterHeader(Name = "金额")] |
|
|
|
public decimal Amount { set; get; } |
|
|
|
public decimal? Amount { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 税额
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "税额")] |
|
|
|
[ImporterHeader(Name = "税额")] |
|
|
|
public decimal Tallage { set; get; } |
|
|
|
public decimal? Tallage { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 价税合计
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "价税合计")] |
|
|
|
[ImporterHeader(Name = "价税合计")] |
|
|
|
public decimal Total { set; get; } |
|
|
|
public decimal? Total { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 协议编号
|
|
|
@ -348,19 +355,19 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[Display(Name = "商品组")] |
|
|
|
[ImporterHeader(Name = "商品组")] |
|
|
|
public string CommodityGroup { set; get; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 印度件导入
|
|
|
|
/// </summary>
|
|
|
|
public class YinDuJianImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 印度件导入
|
|
|
|
/// </summary>
|
|
|
|
public class YinDuJianImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 结算日期
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "Delivery Date")] |
|
|
|
[ImporterHeader(Name = "Delivery Date")] |
|
|
|
public DateTime SettleDate { set; get; } |
|
|
|
public string SettleDate { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 客户零件号
|
|
|
@ -368,7 +375,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[Display(Name = "Material")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
[ImporterHeader(Name = "Material")] |
|
|
|
public string PartCode { get; set; } |
|
|
|
public string LU { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 生产号
|
|
|
@ -392,13 +399,20 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[ImporterHeader(Name = "External Delivery ID")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
public string GroupNum { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// PUB结算明细
|
|
|
|
/// Supplier
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SA_DETAIL_DTO : AuditedAggregateRoot<Guid> |
|
|
|
{ |
|
|
|
[Display(Name = "Supplier")] |
|
|
|
[ImporterHeader(Name = "Supplier")] |
|
|
|
public string Supplier { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// PUB结算明细
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SA_DETAIL_DTO : AuditedAggregateRoot<Guid> |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 结算单
|
|
|
|
/// </summary>
|
|
|
@ -435,26 +449,26 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
/// 厂内物料号
|
|
|
|
/// </summary>
|
|
|
|
public string PartCode { get; set; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 结算明细导出请求
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SA_DETAIL_EXPORT_REQUEST_DTO |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 结算明细导出请求
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SA_DETAIL_EXPORT_REQUEST_DTO |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 结算单号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "结算单号")] |
|
|
|
[Required(ErrorMessage = "{0}不能为空")] |
|
|
|
public string BillNum { set; get; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 结算明细导出
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SA_DETAIL_EXPORT_DTO |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 结算明细导出
|
|
|
|
/// </summary>
|
|
|
|
public class PUB_SA_DETAIL_EXPORT_DTO |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 结算单号
|
|
|
|
/// </summary>
|
|
|
@ -496,13 +510,13 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
[Display(Name = "结算分组")] |
|
|
|
[ExporterHeader(DisplayName = "Delivery")] |
|
|
|
public string GroupNum { get; set; } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Pub结算与发运对比请求
|
|
|
|
/// </summary>
|
|
|
|
public class PubSaSeCompareRequestDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Pub结算与发运对比请求
|
|
|
|
/// </summary>
|
|
|
|
public class PubSaSeCompareRequestDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 期间
|
|
|
|
/// </summary>
|
|
|
@ -536,5 +550,4 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
|
/// 发运结束时间
|
|
|
|
/// </summary>
|
|
|
|
public DateTime? SeEndDateTime { get; set; } |
|
|
|
} |
|
|
|
} |
|
|
|