From 989f0b82c3ac2b81e54258c35c450b5c589242a8 Mon Sep 17 00:00:00 2001
From: lacy <2556321874@qq.com>
Date: Wed, 10 May 2023 15:43:02 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Dtos/IcsShift/IcsShiftImportDto.cs | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 src/aspnet-core/ICS.Application/Business/Dtos/IcsShift/IcsShiftImportDto.cs
diff --git a/src/aspnet-core/ICS.Application/Business/Dtos/IcsShift/IcsShiftImportDto.cs b/src/aspnet-core/ICS.Application/Business/Dtos/IcsShift/IcsShiftImportDto.cs
new file mode 100644
index 00000000..35a91e9a
--- /dev/null
+++ b/src/aspnet-core/ICS.Application/Business/Dtos/IcsShift/IcsShiftImportDto.cs
@@ -0,0 +1,36 @@
+using Abp.Authorization.Users;
+using Aspose.Cells;
+using IdentityServer4.Models;
+using Magicodes.ExporterAndImporter.Core;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using YoyoBoot;
+
+namespace ICS.Application.Business.Dtos
+{
+ public class IcsShiftImportDto
+ {
+ ///
+ /// 班组代码
+ ///
+ [Required(ErrorMessage = "班组代码不能为空")]
+ [MaxLength(AbpUserBase.MaxUserNameLength, ErrorMessage = "班组代码字数超过最大限制,请修改!")]
+ [ImporterHeader(Name = "班组代码", Format = "@", ColumnIndex = (int)ColumIndex.B)]
+ [Description("班组代码")]
+ public string ShiftCode { get; set; }
+
+ ///
+ /// 班组名称
+ ///
+ [Required(ErrorMessage = "班组名称不能为空")]
+ [MaxLength(AbpUserBase.MaxUserNameLength, ErrorMessage = "班组名称字数超过最大限制,请修改!")]
+ [ImporterHeader(Name = "班组名称", Format = "@", ColumnIndex = (int)ColumIndex.C)]
+ [Description("班组名称")]
+ public string CrewName { get; set; }
+ }
+}