初步版本251204
This commit is contained in:
23
FATrace.OEMApp/Model/RawUseCsvDtoMap.cs
Normal file
23
FATrace.OEMApp/Model/RawUseCsvDtoMap.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using CsvHelper.Configuration;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FATrace.OEMApp.Model
|
||||
{
|
||||
public class RawUseCsvDtoMap : ClassMap<RawUseCsvDto>
|
||||
{
|
||||
public RawUseCsvDtoMap()
|
||||
{
|
||||
Map(x => x.RawCode).Index(0).Name("原料编号");
|
||||
Map(x => x.RawName).Index(1).Name("原料名称");
|
||||
Map(x => x.InBagCode).Index(2).Name("内袋二维码");
|
||||
Map(x => x.OpUser).Index(3).Name("操作者");
|
||||
Map(x => x.VideoSavePath).Index(4).Name("视频保存路径");
|
||||
Map(x => x.UseTime).Index(5).Name("使用时间").TypeConverterOption.Format("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user