From e601ab2c2badf6705614b3fc0e946f5b0ef236bf Mon Sep 17 00:00:00 2001 From: mahao Date: Thu, 20 Jul 2023 13:55:39 +0800 Subject: [PATCH] =?UTF-8?q?Jis=E7=BB=93=E7=AE=97=E4=B8=8E=E5=8F=91?= =?UTF-8?q?=E8=BF=90=E5=AF=B9=E6=AF=94=E8=AF=B7=E6=B1=82Dto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BQ/Dtos/JisSaSeCompareRequestDto.cs | 53 +++++++++++++++++++ .../Entities/BQ/BBAC_SA_DETAIL_SERVICE.cs | 47 ---------------- 2 files changed, 53 insertions(+), 47 deletions(-) create mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/JisSaSeCompareRequestDto.cs diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/JisSaSeCompareRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/JisSaSeCompareRequestDto.cs new file mode 100644 index 00000000..912a9be8 --- /dev/null +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/JisSaSeCompareRequestDto.cs @@ -0,0 +1,53 @@ +using System; +using System.ComponentModel.DataAnnotations; + +namespace Win.Sfs.SettleAccount.Entities.BQ; + +/// +/// Jis结算与发运对比请求Dto +/// +public class JisSaSeCompareRequestDto +{ + /// + /// 期间 + /// + [Display(Name = "期间")] + [Required(ErrorMessage = "{0}不能为空")] + public string Version { get; set; } + + /// + /// 发运开始时间 + /// + [Display(Name = "发运开始时间")] + public DateTime SeStartDateTime { get; set; } + + /// + /// 发运结束时间 + /// + [Display(Name = "发运结束时间")] + public DateTime SeEndDateTime { get; set; } + + /// + /// 下线开始时间 + /// + [Display(Name = "下线开始时间")] + public DateTime DownLineStartDateTime { get; set; } + + /// + /// 下线结束时间 + /// + [Display(Name = "下线结束时间")] + public DateTime DownLineEndDateTime { get; set; } + + /// + /// 零件号 + /// + [Display(Name = "零件号")] + public string LU { get; set; } + + /// + /// 通用码 + /// + [Display(Name = "通用码")] + public string PN { get; set; } +} diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_SA_DETAIL_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_SA_DETAIL_SERVICE.cs index d3f0ff75..a293d9ca 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_SA_DETAIL_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_SA_DETAIL_SERVICE.cs @@ -1,5 +1,4 @@ using System; -using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; @@ -25,49 +24,3 @@ public class BBAC_SA_DETAIL_SERVICE } #endregion } - -public class JisSaSeCompareRequestDto -{ - /// - /// 期间 - /// - [Display(Name = "期间")] - [Required(ErrorMessage = "{0}不能为空")] - public string Version { get; set; } - - /// - /// 发运开始时间 - /// - [Display(Name = "发运开始时间")] - public DateTime SeStartDateTime { get; set; } - - /// - /// 发运结束时间 - /// - [Display(Name = "发运结束时间")] - public DateTime SeEndDateTime { get; set; } - - /// - /// 下线开始时间 - /// - [Display(Name = "下线开始时间")] - public DateTime DownLineStartDateTime { get; set; } - - /// - /// 下线结束时间 - /// - [Display(Name = "下线结束时间")] - public DateTime DownLineEndDateTime { get; set; } - - /// - /// 零件号 - /// - [Display(Name = "零件号")] - public string LU { get; set; } - - /// - /// 通用码 - /// - [Display(Name = "通用码")] - public string PN { get; set; } -}