|
|
@ -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 |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 班组代码
|
|
|
|
/// </summary>
|
|
|
|
[Required(ErrorMessage = "班组代码不能为空")] |
|
|
|
[MaxLength(AbpUserBase.MaxUserNameLength, ErrorMessage = "班组代码字数超过最大限制,请修改!")] |
|
|
|
[ImporterHeader(Name = "班组代码", Format = "@", ColumnIndex = (int)ColumIndex.B)] |
|
|
|
[Description("班组代码")] |
|
|
|
public string ShiftCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 班组名称
|
|
|
|
/// </summary>
|
|
|
|
[Required(ErrorMessage = "班组名称不能为空")] |
|
|
|
[MaxLength(AbpUserBase.MaxUserNameLength, ErrorMessage = "班组名称字数超过最大限制,请修改!")] |
|
|
|
[ImporterHeader(Name = "班组名称", Format = "@", ColumnIndex = (int)ColumIndex.C)] |
|
|
|
[Description("班组名称")] |
|
|
|
public string CrewName { get; set; } |
|
|
|
} |
|
|
|
} |