diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordCreateDto.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordCreateDto.cs
new file mode 100644
index 0000000..47148be
--- /dev/null
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordCreateDto.cs
@@ -0,0 +1,131 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WY.NewJit.EdiReceive.Dtos
+{
+ public class ImportRecordCreateDto
+ {
+ ///
+ /// 工厂
+ ///
+ public virtual string Factory { get; set; }
+
+ ///
+ /// 车位
+ ///
+ public virtual string VehicleLocation { get; set; }
+
+ ///
+ /// 工位
+ ///
+ public virtual string WorkLocation { get; set; }
+
+ ///
+ /// 底盘号
+ ///
+ public virtual string Vin { get; set; }
+
+ ///
+ /// 车身号
+ ///
+ public virtual string VehicleBodyCode { get; set; }
+
+ ///
+ /// 车型代码
+ ///
+ public virtual string VehicleModelCode { get; set; }
+
+ ///
+ /// 车型名称
+ ///
+ public virtual string VehicleModelName { get; set; }
+
+ ///
+ /// 车型描述
+ ///
+ public virtual string VehicleModelDesc { get; set; }
+
+ ///
+ /// 规格
+ ///
+ public virtual string Spec { get; set; }
+
+ ///
+ /// 规格说明
+ ///
+ public virtual string SpecDesc { get; set; }
+
+ ///
+ /// 类别
+ ///
+ public virtual string Type { get; set; }
+
+ ///
+ /// 涂装下线时间
+ ///
+ public virtual DateTime? PaintOfflineTime { get; set; }
+
+ ///
+ /// 总装上线时间
+ ///
+ public virtual DateTime? OnlineTime { get; set; }
+
+ ///
+ /// 内饰颜色
+ ///
+ public virtual string InteriorColor { get; set; }
+
+ ///
+ /// 外饰颜色
+ ///
+ public virtual string ExteriorTrimmingColor { get; set; }
+
+ ///
+ /// 序列号
+ ///
+ public virtual string SerialNum { get; set; }
+
+ ///
+ /// 流水号
+ ///
+ public virtual int HostSN { get; set; }
+
+ ///
+ /// 生产线:A/B
+ ///
+ public virtual string ProductLine { get; set; }
+
+ ///
+ /// 目的
+ ///
+ public virtual string Target { get; set; }
+
+ ///
+ /// 备注
+ ///
+ public virtual string Remark { get; set; }
+
+ ///
+ /// 创建时间
+ ///
+ public virtual DateTime? CreateTime { get; set; }
+
+ ///
+ /// 创建人
+ ///
+ public virtual string CreatePerson { get; set; }
+
+ public virtual DateTime? ImportTime { get; set; }
+
+ public virtual string ImportPerson { get; set; }
+
+ public virtual string Remark2 { get; set; }
+
+ public virtual string Remark3 { get; set; }
+
+ public virtual string Remark4 { get; set; }
+
+ public virtual string Remark5 { get; set; }
+ }
+}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordDto.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordDto.cs
new file mode 100644
index 0000000..13e2357
--- /dev/null
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordDto.cs
@@ -0,0 +1,197 @@
+using Magicodes.ExporterAndImporter.Core;
+using Magicodes.ExporterAndImporter.Excel;
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WY.NewJit.EdiReceive.Dtos
+{
+ ///
+ /// 导入记录表
+ ///
+ [ExcelExporter(Name = "导入记录表", AutoFitAllColumn = true, MaxRowNumberOnASheet = 50000)] //一个Sheet最大允许的行数,设置了之后将输出多个Sheet
+ [Serializable]
+ public class ImportRecordDto
+ {
+ [ExporterHeader(IsIgnore = true)]
+ [ImporterHeader(IsIgnore = true)]
+ public virtual Guid Id { get; set; }
+ ///
+ /// 工厂
+ ///
+ [ExporterHeader(DisplayName = "工厂")]
+ [ImporterHeader(Name = "工厂")]
+ public virtual string Factory { get; set; }
+
+ ///
+ /// 车位
+ ///
+ [ExporterHeader(DisplayName = "车位")]
+ [ImporterHeader(Name = "车位")]
+ public virtual string VehicleLocation { get; set; }
+
+ ///
+ /// 工位
+ ///
+ [ExporterHeader(DisplayName = "工位")]
+ [ImporterHeader(Name = "工位")]
+ public virtual string WorkLocation { get; set; }
+
+ ///
+ /// 底盘号
+ ///
+ [ExporterHeader(DisplayName = "底盘号")]
+ [ImporterHeader(Name = "底盘号")]
+ public virtual string Vin { get; set; }
+
+ ///
+ /// 车身号
+ ///
+ [ExporterHeader(DisplayName = "车身号")]
+ [ImporterHeader(Name = "车身号")]
+ public virtual string VehicleBodyCode { get; set; }
+
+ ///
+ /// 车型代码
+ ///
+ [ExporterHeader(DisplayName = "车型代码")]
+ [ImporterHeader(Name = "车型代码")]
+ public virtual string VehicleModelCode { get; set; }
+
+ ///
+ /// 车型名称
+ ///
+ [ExporterHeader(DisplayName = "车型名称")]
+ [ImporterHeader(Name = "车型名称")]
+ public virtual string VehicleModelName { get; set; }
+
+ ///
+ /// 车型描述
+ ///
+ [ExporterHeader(DisplayName = "车型描述")]
+ [ImporterHeader(Name = "车型描述")]
+ public virtual string VehicleModelDesc { get; set; }
+
+ ///
+ /// 规格
+ ///
+ [ExporterHeader(DisplayName = "规格")]
+ [ImporterHeader(Name = "规格")]
+ public virtual string Spec { get; set; }
+
+ ///
+ /// 规格说明
+ ///
+ [ExporterHeader(DisplayName = "规格说明")]
+ [ImporterHeader(Name = "规格说明")]
+ public virtual string SpecDesc { get; set; }
+
+ ///
+ /// 类别
+ ///
+ [ExporterHeader(DisplayName = "类别")]
+ [ImporterHeader(Name = "类别")]
+ public virtual string Type { get; set; }
+
+ ///
+ /// 涂装下线时间
+ ///
+ [ExporterHeader(DisplayName = "涂装下线时间", Format ="yyyy/MM/dd HH:mm:ss")]
+ [ImporterHeader(Name = "涂装下线时间", Format = "yyyy/MM/dd HH:mm:ss")]
+ public virtual DateTime? PaintOfflineTime { get; set; }
+
+ ///
+ /// 总装上线时间
+ ///
+ [ExporterHeader(DisplayName = "总装上线时间", Format = "yyyy/MM/dd HH:mm:ss")]
+ [ImporterHeader(Name = "总装上线时间", Format = "yyyy/MM/dd HH:mm:ss")]
+ public virtual DateTime? OnlineTime { get; set; }
+
+ ///
+ /// 内饰颜色
+ ///
+ [ExporterHeader(DisplayName = "内饰颜色")]
+ [ImporterHeader(Name = "内饰颜色")]
+ public virtual string InteriorColor { get; set; }
+
+ ///
+ /// 外饰颜色
+ ///
+ [ExporterHeader(DisplayName = "外饰颜色")]
+ [ImporterHeader(Name = "外饰颜色")]
+ public virtual string ExteriorTrimmingColor { get; set; }
+
+ ///
+ /// 序列号
+ ///
+ [ExporterHeader(DisplayName = "序列号")]
+ [ImporterHeader(Name = "序列号")]
+ public virtual string SerialNum { get; set; }
+
+ ///
+ /// 流水号
+ ///
+ [ExporterHeader(DisplayName = "流水号")]
+ [ImporterHeader(Name = "流水号")]
+ public virtual int HostSN { get; set; }
+
+ ///
+ /// 生产线:A/B
+ ///
+ [ExporterHeader(DisplayName = "生产线:A/B")]
+ [ImporterHeader(Name = "生产线:A/B")]
+ public virtual string ProductLine { get; set; }
+
+ ///
+ /// 目的
+ ///
+ [ExporterHeader(DisplayName = "目的")]
+ [ImporterHeader(Name = "目的")]
+ public virtual string Target { get; set; }
+
+ ///
+ /// 备注
+ ///
+ [ExporterHeader(DisplayName = "备注")]
+ [ImporterHeader(Name = "备注")]
+ public virtual string Remark { get; set; }
+
+ ///
+ /// 创建时间
+ ///
+ [ExporterHeader(DisplayName = "创建时间", Format = "yyyy/MM/dd HH:mm:ss")]
+ [ImporterHeader(Name = "创建时间", Format = "yyyy/MM/dd HH:mm:ss")]
+ public virtual DateTime? CreateTime { get; set; }
+
+ ///
+ /// 创建人
+ ///
+ [ExporterHeader(DisplayName = "创建人")]
+ [ImporterHeader(Name = "创建人")]
+ public virtual string CreatePerson { get; set; }
+
+ [ExporterHeader(IsIgnore = true)]
+ [ImporterHeader(IsIgnore = true)]
+ public virtual DateTime? ImportTime { get; set; }
+
+ [ExporterHeader(IsIgnore = true)]
+ [ImporterHeader(IsIgnore = true)]
+ public virtual string ImportPerson { get; set; }
+
+ [ExporterHeader(IsIgnore = true)]
+ [ImporterHeader(IsIgnore = true)]
+ public virtual string Remark2 { get; set; }
+
+ [ExporterHeader(IsIgnore = true)]
+ [ImporterHeader(IsIgnore = true)]
+ public virtual string Remark3 { get; set; }
+
+ [ExporterHeader(IsIgnore = true)]
+ [ImporterHeader(IsIgnore = true)]
+ public virtual string Remark4 { get; set; }
+
+ [ExporterHeader(IsIgnore = true)]
+ [ImporterHeader(IsIgnore = true)]
+ public virtual string Remark5 { get; set; }
+ }
+}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordHisCreateDto.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordHisCreateDto.cs
new file mode 100644
index 0000000..7982184
--- /dev/null
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordHisCreateDto.cs
@@ -0,0 +1,131 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WY.NewJit.EdiReceive.Dtos
+{
+ public class ImportRecordHisCreateDto
+ {
+ ///
+ /// 工厂
+ ///
+ public virtual string Factory { get; set; }
+
+ ///
+ /// 车位
+ ///
+ public virtual string VehicleLocation { get; set; }
+
+ ///
+ /// 工位
+ ///
+ public virtual string WorkLocation { get; set; }
+
+ ///
+ /// 底盘号
+ ///
+ public virtual string Vin { get; set; }
+
+ ///
+ /// 车身号
+ ///
+ public virtual string VehicleBodyCode { get; set; }
+
+ ///
+ /// 车型代码
+ ///
+ public virtual string VehicleModelCode { get; set; }
+
+ ///
+ /// 车型名称
+ ///
+ public virtual string VehicleModelName { get; set; }
+
+ ///
+ /// 车型描述
+ ///
+ public virtual string VehicleModelDesc { get; set; }
+
+ ///
+ /// 规格
+ ///
+ public virtual string Spec { get; set; }
+
+ ///
+ /// 规格说明
+ ///
+ public virtual string SpecDesc { get; set; }
+
+ ///
+ /// 类别
+ ///
+ public virtual string Type { get; set; }
+
+ ///
+ /// 涂装下线时间
+ ///
+ public virtual DateTime? PaintOfflineTime { get; set; }
+
+ ///
+ /// 总装上线时间
+ ///
+ public virtual DateTime? OnlineTime { get; set; }
+
+ ///
+ /// 内饰颜色
+ ///
+ public virtual string InteriorColor { get; set; }
+
+ ///
+ /// 外饰颜色
+ ///
+ public virtual string ExteriorTrimmingColor { get; set; }
+
+ ///
+ /// 序列号
+ ///
+ public virtual string SerialNum { get; set; }
+
+ ///
+ /// 流水号
+ ///
+ public virtual int HostSN { get; set; }
+
+ ///
+ /// 生产线:A/B
+ ///
+ public virtual string ProductLine { get; set; }
+
+ ///
+ /// 目的
+ ///
+ public virtual string Target { get; set; }
+
+ ///
+ /// 备注
+ ///
+ public virtual string Remark { get; set; }
+
+ ///
+ /// 创建时间
+ ///
+ public virtual DateTime? CreateTime { get; set; }
+
+ ///
+ /// 创建人
+ ///
+ public virtual string CreatePerson { get; set; }
+
+ public virtual DateTime? ImportTime { get; set; }
+
+ public virtual string ImportPerson { get; set; }
+
+ public virtual string Remark2 { get; set; }
+
+ public virtual string Remark3 { get; set; }
+
+ public virtual string Remark4 { get; set; }
+
+ public virtual string Remark5 { get; set; }
+ }
+}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordHisDto.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordHisDto.cs
new file mode 100644
index 0000000..9cf7f01
--- /dev/null
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordHisDto.cs
@@ -0,0 +1,132 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WY.NewJit.EdiReceive.Dtos
+{
+ public class ImportRecordHisDto
+ {
+ public Guid Id { get; set; }
+ ///
+ /// 工厂
+ ///
+ public virtual string Factory { get; set; }
+
+ ///
+ /// 车位
+ ///
+ public virtual string VehicleLocation { get; set; }
+
+ ///
+ /// 工位
+ ///
+ public virtual string WorkLocation { get; set; }
+
+ ///
+ /// 底盘号
+ ///
+ public virtual string Vin { get; set; }
+
+ ///
+ /// 车身号
+ ///
+ public virtual string VehicleBodyCode { get; set; }
+
+ ///
+ /// 车型代码
+ ///
+ public virtual string VehicleModelCode { get; set; }
+
+ ///
+ /// 车型名称
+ ///
+ public virtual string VehicleModelName { get; set; }
+
+ ///
+ /// 车型描述
+ ///
+ public virtual string VehicleModelDesc { get; set; }
+
+ ///
+ /// 规格
+ ///
+ public virtual string Spec { get; set; }
+
+ ///
+ /// 规格说明
+ ///
+ public virtual string SpecDesc { get; set; }
+
+ ///
+ /// 类别
+ ///
+ public virtual string Type { get; set; }
+
+ ///
+ /// 涂装下线时间
+ ///
+ public virtual DateTime? PaintOfflineTime { get; set; }
+
+ ///
+ /// 总装上线时间
+ ///
+ public virtual DateTime? OnlineTime { get; set; }
+
+ ///
+ /// 内饰颜色
+ ///
+ public virtual string InteriorColor { get; set; }
+
+ ///
+ /// 外饰颜色
+ ///
+ public virtual string ExteriorTrimmingColor { get; set; }
+
+ ///
+ /// 序列号
+ ///
+ public virtual string SerialNum { get; set; }
+
+ ///
+ /// 流水号
+ ///
+ public virtual int HostSN { get; set; }
+
+ ///
+ /// 生产线:A/B
+ ///
+ public virtual string ProductLine { get; set; }
+
+ ///
+ /// 目的
+ ///
+ public virtual string Target { get; set; }
+
+ ///
+ /// 备注
+ ///
+ public virtual string Remark { get; set; }
+
+ ///
+ /// 创建时间
+ ///
+ public virtual DateTime? CreateTime { get; set; }
+
+ ///
+ /// 创建人
+ ///
+ public virtual string CreatePerson { get; set; }
+
+ public virtual DateTime? ImportTime { get; set; }
+
+ public virtual string ImportPerson { get; set; }
+
+ public virtual string Remark2 { get; set; }
+
+ public virtual string Remark3 { get; set; }
+
+ public virtual string Remark4 { get; set; }
+
+ public virtual string Remark5 { get; set; }
+ }
+}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordInputDto.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordInputDto.cs
new file mode 100644
index 0000000..a445121
--- /dev/null
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Dtos/ImportRecordInputDto.cs
@@ -0,0 +1,86 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using WY.NewJit.Common;
+
+namespace WY.NewJit.EdiReceive.Dtos
+{
+ public class ImportRecordInputDto : PagedAndSortedBase
+ {
+ ///
+ /// 工厂
+ ///
+ public virtual string Factory { get; set; }
+
+
+ ///
+ /// 底盘号
+ ///
+ public virtual string Vin { get; set; }
+
+
+ ///
+ /// 车型代码
+ ///
+ public virtual string VehicleModelCode { get; set; }
+
+ ///
+ /// 涂装下线时间起
+ ///
+ public virtual DateTime? PaintOfflineTimeBegin { get; set; }
+
+ ///
+ /// 涂装下线时间止
+ ///
+ public virtual DateTime? PaintOfflineTimeEnd { get; set; }
+
+ ///
+ /// 总装上线时间起
+ ///
+ public virtual DateTime? OnlineTimeBegin { get; set; }
+
+ ///
+ /// 总装上线时间止
+ ///
+ public virtual DateTime? OnlineTimeEnd { get; set; }
+
+ ///
+ /// 序列号起
+ ///
+ public virtual string SerialNumBegin { get; set; }
+
+ ///
+ /// 序列号止
+ ///
+ public virtual string SerialNumEnd { get; set; }
+
+ ///
+ /// 流水号起
+ ///
+ public virtual int? HostSNBegin { get; set; }
+
+ ///
+ /// 流水号止
+ ///
+ public virtual int? HostSNEnd { get; set; }
+
+ ///
+ /// 生产线:A/B
+ ///
+ public virtual string ProductLine { get; set; }
+
+ ///
+ /// 创建时间起
+ ///
+ public virtual DateTime? CreateTimeBegin { get; set; }
+
+ ///
+ /// 创建时间止
+ ///
+ public virtual DateTime? CreateTimeEnd { get; set; }
+
+ public virtual DateTime? ImportTimeBegin { get; set; }
+ public virtual DateTime? ImportTimeEnd { get; set; }
+
+ }
+}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Interfaces/IImportRecordAppService.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Interfaces/IImportRecordAppService.cs
new file mode 100644
index 0000000..b835209
--- /dev/null
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/EdiReceive/Interfaces/IImportRecordAppService.cs
@@ -0,0 +1,69 @@
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Threading.Tasks;
+using Volo.Abp.Application.Dtos;
+using Volo.Abp.Application.Services;
+using WY.NewJit.EdiReceive.Dtos;
+
+namespace WY.NewJit.EdiReceive.Interfaces
+{
+ public interface IImportRecordAppService : IApplicationService
+ {
+ #region 接口方法
+
+ /// 根据筛选条件获取分页实体列表
+ ///
+ /// 输入查询条件
+ /// 输入分页条件
+ /// 返回符合条件的排序分页列表
+ Task> GetListAsync(ImportRecordInputDto input);
+
+ ///
+ /// 按主键获取唯一实体
+ ///
+ /// 主键
+ /// 实体信息
+ Task> GetAsync(Guid id);
+
+ ///
+ /// 添加实体
+ ///
+ /// 添加内容
+ /// 执行成功返回真
+ Task> CreateAsync(ImportRecordCreateDto input);
+
+ ///
+ /// 修改实体
+ ///
+ /// 更新主键
+ /// 修改内容
+ /// 执行成功返回真
+ Task UpdateAsync(Guid id, ImportRecordCreateDto input);
+
+ ///
+ /// 删除实体
+ ///
+ /// 删除主键
+ /// 执行成功返回真
+ Task DeleteAsync(string id);
+
+ ///
+ /// 导出信息
+ ///
+ /// 导出查询条件
+ /// 执行成功返回真
+ Task> ExportAsync(ImportRecordInputDto input);
+
+ ///
+ /// 导入信息
+ ///
+ /// 导入文件流
+ /// 执行成功返回真
+ Task ImportAsync([FromForm] IFormFileCollection files);
+ #endregion
+ }
+
+}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/WY.NewJit.Application.Contracts.csproj b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/WY.NewJit.Application.Contracts.csproj
index f9617ae..c0fdf36 100644
--- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/WY.NewJit.Application.Contracts.csproj
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/WY.NewJit.Application.Contracts.csproj
@@ -22,6 +22,7 @@
+
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/WY.NewJit.Application.Contracts.xml b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/WY.NewJit.Application.Contracts.xml
index 4fdf9fb..1832b26 100644
--- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/WY.NewJit.Application.Contracts.xml
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application.Contracts/WY.NewJit.Application.Contracts.xml
@@ -4,6 +4,565 @@
WY.NewJit.Application.Contracts
+
+
+ 工厂
+
+
+
+
+ 车位
+
+
+
+
+ 工位
+
+
+
+
+ 底盘号
+
+
+
+
+ 车身号
+
+
+
+
+ 车型代码
+
+
+
+
+ 车型名称
+
+
+
+
+ 车型描述
+
+
+
+
+ 规格
+
+
+
+
+ 规格说明
+
+
+
+
+ 类别
+
+
+
+
+ 涂装下线时间
+
+
+
+
+ 总装上线时间
+
+
+
+
+ 内饰颜色
+
+
+
+
+ 外饰颜色
+
+
+
+
+ 序列号
+
+
+
+
+ 流水号
+
+
+
+
+ 生产线:A/B
+
+
+
+
+ 目的
+
+
+
+
+ 备注
+
+
+
+
+ 创建时间
+
+
+
+
+ 创建人
+
+
+
+
+ 导入记录表
+
+
+
+
+ 工厂
+
+
+
+
+ 车位
+
+
+
+
+ 工位
+
+
+
+
+ 底盘号
+
+
+
+
+ 车身号
+
+
+
+
+ 车型代码
+
+
+
+
+ 车型名称
+
+
+
+
+ 车型描述
+
+
+
+
+ 规格
+
+
+
+
+ 规格说明
+
+
+
+
+ 类别
+
+
+
+
+ 涂装下线时间
+
+
+
+
+ 总装上线时间
+
+
+
+
+ 内饰颜色
+
+
+
+
+ 外饰颜色
+
+
+
+
+ 序列号
+
+
+
+
+ 流水号
+
+
+
+
+ 生产线:A/B
+
+
+
+
+ 目的
+
+
+
+
+ 备注
+
+
+
+
+ 创建时间
+
+
+
+
+ 创建人
+
+
+
+
+ 工厂
+
+
+
+
+ 车位
+
+
+
+
+ 工位
+
+
+
+
+ 底盘号
+
+
+
+
+ 车身号
+
+
+
+
+ 车型代码
+
+
+
+
+ 车型名称
+
+
+
+
+ 车型描述
+
+
+
+
+ 规格
+
+
+
+
+ 规格说明
+
+
+
+
+ 类别
+
+
+
+
+ 涂装下线时间
+
+
+
+
+ 总装上线时间
+
+
+
+
+ 内饰颜色
+
+
+
+
+ 外饰颜色
+
+
+
+
+ 序列号
+
+
+
+
+ 流水号
+
+
+
+
+ 生产线:A/B
+
+
+
+
+ 目的
+
+
+
+
+ 备注
+
+
+
+
+ 创建时间
+
+
+
+
+ 创建人
+
+
+
+
+ 工厂
+
+
+
+
+ 车位
+
+
+
+
+ 工位
+
+
+
+
+ 底盘号
+
+
+
+
+ 车身号
+
+
+
+
+ 车型代码
+
+
+
+
+ 车型名称
+
+
+
+
+ 车型描述
+
+
+
+
+ 规格
+
+
+
+
+ 规格说明
+
+
+
+
+ 类别
+
+
+
+
+ 涂装下线时间
+
+
+
+
+ 总装上线时间
+
+
+
+
+ 内饰颜色
+
+
+
+
+ 外饰颜色
+
+
+
+
+ 序列号
+
+
+
+
+ 流水号
+
+
+
+
+ 生产线:A/B
+
+
+
+
+ 目的
+
+
+
+
+ 备注
+
+
+
+
+ 创建时间
+
+
+
+
+ 创建人
+
+
+
+
+ 工厂
+
+
+
+
+ 底盘号
+
+
+
+
+ 车型代码
+
+
+
+
+ 涂装下线时间起
+
+
+
+
+ 涂装下线时间止
+
+
+
+
+ 总装上线时间起
+
+
+
+
+ 总装上线时间止
+
+
+
+
+ 序列号起
+
+
+
+
+ 序列号止
+
+
+
+
+ 流水号起
+
+
+
+
+ 流水号止
+
+
+
+
+ 生产线:A/B
+
+
+
+
+ 创建时间起
+
+
+
+
+ 创建时间止
+
+
+
+
+
+ 按主键获取唯一实体
+
+ 主键
+ 实体信息
+
+
+
+ 添加实体
+
+ 添加内容
+ 执行成功返回真
+
+
+
+ 修改实体
+
+ 更新主键
+ 修改内容
+ 执行成功返回真
+
+
+
+ 删除实体
+
+ 删除主键
+ 执行成功返回真
+
+
+
+ 导出信息
+
+ 导出查询条件
+ 执行成功返回真
+
+
+
+ 导入信息
+
+ 导入文件流
+ 执行成功返回真
+
门板装箱单打印主实体
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/EdiReceive/ImportRecordAppService.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/EdiReceive/ImportRecordAppService.cs
new file mode 100644
index 0000000..6a7f24f
--- /dev/null
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/EdiReceive/ImportRecordAppService.cs
@@ -0,0 +1,476 @@
+using Magicodes.ExporterAndImporter.Core;
+using Magicodes.ExporterAndImporter.Core.Models;
+using Magicodes.ExporterAndImporter.Excel;
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Logging;
+using Shouldly;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Volo.Abp.Application.Dtos;
+using Volo.Abp.Application.Services;
+using Volo.Abp.BlobStoring;
+using Volo.Abp.Domain.Repositories;
+using Volo.Abp.Uow;
+using WY.NewJit.Common;
+using WY.NewJit.EdiReceive.Dtos;
+using WY.NewJit.EdiReceive.Entitys;
+using WY.NewJit.EdiReceive.Interfaces;
+using WY.NewJit.EntityFrameworkCore;
+using WY.NewJit.MsgBaseData;
+
+namespace WY.NewJit.EdiReceive
+{
+ ///
+ /// 零件管理应用服务实现
+ ///
+ [Microsoft.AspNetCore.Mvc.Route("api/newjit/import-record")]
+ [ApiExplorerSettings(GroupName = SwaggerGroupConsts.报文接收)]
+ public class ImportRecordAppService : ApplicationService, IImportRecordAppService
+ {
+ #region 成员
+ ///
+ /// 零件仓储
+ ///
+ private readonly IRepository _importRecordRepository;
+
+ ///
+ /// 日志
+ ///
+ private ILogger _logger;
+
+ ///
+ /// Dapper仓储
+ ///
+ private readonly NewJitDapperRepository _newJitDapperRepository;
+
+ ///
+ /// BLOB存储
+ ///
+ private readonly IBlobContainer _blobContainer;
+
+ ///
+ /// 字典领域服务
+ ///
+ private readonly DicDomainService _dicDomainService;
+
+ ///
+ /// 错误信息前缀
+ ///
+ private string _errorMessagePrefix
+ {
+ get
+ {
+ return System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.Name + ".";
+ }
+ }
+
+
+ #endregion
+
+ ///
+ /// 构造函数
+ ///
+ public ImportRecordAppService(
+ IRepository importRecordRepository,
+ ILogger logger,
+ NewJitDapperRepository newJitDapperRepository,
+ IBlobContainer blobContainer,
+ DicDomainService dicDomainService
+ )
+ {
+ _importRecordRepository = importRecordRepository;
+ _logger = logger;
+ _newJitDapperRepository = newJitDapperRepository;
+ _blobContainer = blobContainer;
+ _dicDomainService = dicDomainService;
+ }
+
+ #region 私有方法
+ private static string GetWhere(ImportRecordInputDto input)
+ {
+ string where = "";
+ if (input.Factory.HasValue())
+ {
+ where += string.Format(" and Factory = '{0}'", input.Factory);
+ }
+ if (input.Vin.HasValue())
+ {
+ where += string.Format(" and Vin = '{0}'", input.Vin);
+ }
+ if (input.VehicleModelCode.HasValue())
+ {
+ where += string.Format(" and VehicleModelCode = '{0}'", input.VehicleModelCode);
+ }
+ if (input.PaintOfflineTimeBegin.HasValue())
+ {
+ where += string.Format(" and PaintOfflineTime >= '{0}'", input.PaintOfflineTimeBegin);
+ }
+ if (input.PaintOfflineTimeEnd.HasValue())
+ {
+ where += string.Format(" and PaintOfflineTime <= '{0}'", input.PaintOfflineTimeEnd);
+ }
+ if (input.OnlineTimeBegin.HasValue())
+ {
+ where += string.Format(" and OnlineTime >= '{0}'", input.OnlineTimeBegin);
+ }
+ if (input.OnlineTimeEnd.HasValue())
+ {
+ where += string.Format(" and OnlineTime <= '{0}'", input.OnlineTimeEnd);
+ }
+ if (input.OnlineTimeBegin.HasValue())
+ {
+ where += string.Format(" and OnlineTime >= '{0}'", input.OnlineTimeBegin);
+ }
+ if (input.OnlineTimeEnd.HasValue())
+ {
+ where += string.Format(" and OnlineTime <= '{0}'", input.OnlineTimeEnd);
+ }
+ if (input.SerialNumBegin.HasValue())
+ {
+ where += string.Format(" and SerialNum >= '{0}'", input.SerialNumBegin);
+ }
+ if (input.SerialNumEnd.HasValue())
+ {
+ where += string.Format(" and SerialNum <= '{0}'", input.SerialNumEnd);
+ }
+ if (input.HostSNBegin.HasValue())
+ {
+ where += string.Format(" and HostSN >= '{0}'", input.HostSNBegin);
+ }
+ if (input.HostSNEnd.HasValue())
+ {
+ where += string.Format(" and HostSN <= '{0}'", input.HostSNEnd);
+ }
+ if (input.ProductLine.HasValue())
+ {
+ where += string.Format(" and ProductLine = '{0}'", input.ProductLine);
+ }
+ if (input.CreateTimeBegin.HasValue())
+ {
+ where += string.Format(" and CreateTime >= '{0}'", input.CreateTimeBegin);
+ }
+ if (input.CreateTimeEnd.HasValue())
+ {
+ where += string.Format(" and CreateTime <= '{0}'", input.CreateTimeEnd);
+ }
+ if (input.ImportTimeBegin.HasValue())
+ {
+ where += string.Format(" and ImportTime >= '{0}'", input.ImportTimeBegin);
+ }
+ if (input.ImportTimeEnd.HasValue())
+ {
+ where += string.Format(" and ImportTime <= '{0}'", input.ImportTimeEnd);
+ }
+ return where;
+ }
+
+ ///
+ /// 取单表记录总数
+ ///
+ ///
+ ///
+ ///
+ private async Task GetEntityCountAsync(string tableName, string where)
+ {
+ string sql = $"select count(*) from {tableName} where 1=1 {where}";
+ var ret = await _newJitDapperRepository.GetSingleBySqlAsync(sql);
+ return ret;
+ }
+
+ ///
+ /// 取单表当前页数据
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ private async Task> GetEntityListAsync(string tableName, string where, string orderFieldName, int pageSize, int pageIndex)
+ {
+ int takeNum = pageSize;
+ int skipNum = (pageIndex - 1) * pageSize;
+ string sql = $"select * from {tableName} where 1=1 {where} order by {orderFieldName} offset {skipNum} rows fetch next {takeNum} rows only";
+ var ret = await _newJitDapperRepository.GetListBySqlAsync(sql);
+ return ret;
+ }
+
+ private async Task> GetEntityListFromToAsync(string tableName, string where, string orderFieldName, int skipNum, int takeNum)
+ {
+ string sql = $"select * from {tableName} where 1=1 {where} order by {orderFieldName} offset {skipNum} rows fetch next {takeNum} rows only";
+ var ret = await _newJitDapperRepository.GetListBySqlAsync(sql);
+ return ret;
+ }
+
+
+ ///
+ /// 根据筛选条件获取实体列表
+ ///
+ private async Task> QueryByConditionAsync(ImportRecordInputDto input, PagedAndSortedBase page)
+ {
+ PagedResultDto ret = new PagedResultDto();
+ string where = GetWhere(input);
+
+ ret.TotalCount = await GetEntityCountAsync("FisImportRecord", where);
+
+ //计算分页
+ int skipNum = page.SkipCount;
+ int takeNum = page.MaxResultCount;
+
+ var lst = await GetEntityListFromToAsync("FisImportRecord", where, "HostSN", skipNum, takeNum);
+ ret.Items = lst;
+ return ret;
+ }
+
+ #endregion
+
+
+ #region 公有方法
+ ///
+ /// 根据筛选条件获取分页实体列表
+ ///
+ /// 输入查询条件
+ /// 返回符合条件的排序分页列表
+ [HttpGet]
+ [UnitOfWork(false)]
+ [Route("list")]
+ public async Task> GetListAsync(ImportRecordInputDto input)
+ {
+ _logger.LogDebug(_errorMessagePrefix + "GetListAsync 进入");
+ PagedResultDto ret = new PagedResultDto();
+ try
+ {
+ ret = await QueryByConditionAsync(input, (PagedAndSortedBase)input);
+ return ret;
+ }
+ catch (Exception ex)
+ {
+ var msg = _errorMessagePrefix + "GetListAsync 执行出错:" + ex.Message;
+ _logger.LogError(msg);
+ return ret;
+ }
+ }
+
+
+
+ ///
+ /// 按主键获取唯一实体
+ ///
+ /// 主键
+ /// 实体信息
+ [HttpGet]
+ [Route("{id}")]
+ public async Task> GetAsync(Guid id)
+ {
+ _logger.LogDebug(_errorMessagePrefix + "GetAsync 进入");
+ ObjectResultDto ret = new ObjectResultDto();
+ try
+ {
+ ImportRecord sourceObj = await _importRecordRepository.GetAsync(id);
+ ImportRecordDto targetObj = ObjectMapper.Map(sourceObj);
+ ret.Item = targetObj;
+ return ret;
+ }
+ catch (Exception ex)
+ {
+ ret.Status = false;
+ ret.Message = _errorMessagePrefix + "GetAsync 执行出错:" + ex.Message;
+ _logger.LogError(ret.Message);
+ return ret;
+ }
+ }
+
+ ///
+ /// 添加实体
+ ///
+ /// 添加内容
+ /// 执行成功返回真
+ [HttpPost]
+ [UnitOfWork]
+ [Route("")]//create
+ public async Task> CreateAsync(ImportRecordCreateDto input)
+ {
+ _logger.LogDebug(_errorMessagePrefix + "CreateAsync 进入");
+ ObjectResultDto ret = new ObjectResultDto();
+ try
+ {
+ ImportRecord obj = ObjectMapper.Map(input);
+ ImportRecord obj2 = await _importRecordRepository.InsertAsync(obj);
+ ret.Item = obj2.Id; //返回添加对象的主键
+ return ret;
+ }
+ catch (Exception ex)
+ {
+ ret.Status = false;
+ ret.Message = _errorMessagePrefix + "CreateAsync 执行出错:" + ex.Message;
+ _logger.LogError(ret.Message);
+ return ret;
+ }
+ }
+
+ ///
+ /// 修改实体
+ ///
+ /// 更新主键
+ /// 修改内容
+ /// 执行成功返回真
+ [HttpPut]
+ [UnitOfWork]
+ [Route("{id}")]//update/
+ public async Task UpdateAsync(Guid id, ImportRecordCreateDto input)
+ {
+ _logger.LogDebug(_errorMessagePrefix + "UpdateAsync 进入");
+ ObjectResultDto ret = new ObjectResultDto();
+ try
+ {
+ ImportRecord targetObj = await _importRecordRepository.GetAsync(id);
+ ObjectMapper.Map(input, targetObj);
+ await _importRecordRepository.UpdateAsync(targetObj);
+ return ret;
+ }
+ catch (Exception ex)
+ {
+ ret.Status = false;
+ ret.Message = _errorMessagePrefix + "UpdateAsync 执行出错:" + ex.Message;
+ _logger.LogError(ret.Message);
+ return ret;
+ }
+ }
+
+ ///
+ /// 删除实体
+ ///
+ /// 删除主键
+ /// 执行成功返回真
+ [UnitOfWork]
+ [HttpDelete]
+ [Route("{id}")]//delete/
+ public async Task DeleteAsync(string id)
+ {
+ _logger.LogDebug(_errorMessagePrefix + "DeleteAsync 进入");
+ ObjectResultDto ret = new ObjectResultDto();
+ try
+ {
+ Guid guid = Guid.Parse(id);
+ await _importRecordRepository.DeleteAsync(guid);
+
+ return ret;
+ }
+ catch (Exception ex)
+ {
+ ret.Status = false;
+ ret.Message = _errorMessagePrefix + "DeleteAsync 执行出错:" + ex.Message;
+ _logger.LogError(ret.Message);
+ return ret;
+ }
+ }
+
+ ///
+ /// 导出信息
+ ///
+ /// 导出查询条件
+ /// 执行成功返回真
+ [UnitOfWork(false)]
+ [HttpPost]
+ [Route("export")]
+ public async Task> ExportAsync(ImportRecordInputDto input)
+ {
+ _logger.LogDebug(_errorMessagePrefix + "ExportAsync 进入");
+ ObjectResultDto ret = new ObjectResultDto();
+ try
+ {
+ PagedResultDto pageLst = await QueryByConditionAsync(input, (PagedAndSortedBase)input);
+ var items = pageLst.Items.AsEnumerable().ToList();
+ //将实体列表转换成excel文件流
+ IExporter exporter = new ExcelExporter();
+ byte[] byteArr = await exporter.ExportAsByteArray(items);
+ byteArr.ShouldNotBeNull();
+ //将excel文件流保存到服务器端文件系统
+ string fileName = string.Format("导入记录_{0}.xlsx", Guid.NewGuid().ToString());
+ await _blobContainer.SaveAsync(fileName, byteArr);
+
+ ret.Item = fileName;
+ return ret;
+ }
+ catch (Exception ex)
+ {
+ ret.Status = false;
+ ret.Message = _errorMessagePrefix + "ExportAsync 执行出错:" + ex.Message;
+ _logger.LogError(ret.Message);
+ return ret;
+ }
+ }
+
+ ///
+ /// 导入
+ ///
+ /// 导入文件
+ /// 执行成功返回真
+ [HttpPost]
+ [Route("import")]
+ [DisableRequestSizeLimit]
+ public virtual async Task ImportAsync([FromForm] IFormFileCollection files)
+ {
+
+ _logger.LogDebug(_errorMessagePrefix + "ImportAsync 进入");
+ ObjectResultDto ret = new ObjectResultDto();
+ try
+ {
+ ImportResult impResult;
+ using (var memoryStream = new MemoryStream())
+ {
+ //保存到内存流
+ IFormFile file = files[0];
+ await file.CopyToAsync(memoryStream);
+ memoryStream.Seek(0, SeekOrigin.Begin);
+ //StreamReader sr = new StreamReader(memoryStream, Encoding.Default);
+ IImporter importer = new ExcelImporter();
+ impResult = await importer.Import(memoryStream);
+ if (impResult.HasError)
+ {
+ string rowErrStr = "";
+ foreach (var rowErr in impResult.RowErrors)
+ {
+ string fieldErr = string.Concat(rowErr.FieldErrors.Select(itm => $"字段:{itm.Key},错误信息:{itm.Value}"));
+ rowErrStr += $"行号:{rowErr.RowIndex},{fieldErr}\r\n";
+ }
+ string templateErrStr = "";
+ foreach (var templateErr in impResult.TemplateErrors)
+ {
+ string errorLevel = templateErr.ErrorLevel == ErrorLevels.Error ? "错误" : "警告";
+ templateErrStr += $"错误等级:{errorLevel},列名:{templateErr.ColumnName},需要列:{templateErr.RequireColumnName},错误消息:{templateErr.Message}\r\n";
+ }
+ ret.Message = rowErrStr + templateErrStr;
+ ret.Status = false;
+ return ret;
+ }
+ }
+ var srcLst = impResult.Data.AsEnumerable().ToList();
+ var tarLst = ObjectMapper.Map, List>(srcLst);
+ foreach (var tar in tarLst)
+ {
+ tar.CreatePerson = "导入";
+ tar.CreateTime = ServerHelper.CurrentDateTime;
+ }
+ //插入“导入记录表”
+ await _importRecordRepository.InsertManyAsync(tarLst);
+ ret.Status = true;
+ return ret;
+ }
+ catch (Exception ex)
+ {
+ ret.Status = false;
+ ret.Message = _errorMessagePrefix + "ImportAsync 执行出错:" + ex.Message;
+ _logger.LogError(ret.Message);
+ return ret;
+ }
+ }
+ #endregion
+ }
+}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/NewJitApplicationAutoMapperProfile.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/NewJitApplicationAutoMapperProfile.cs
index 41ad3e4..af465c3 100644
--- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/NewJitApplicationAutoMapperProfile.cs
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/NewJitApplicationAutoMapperProfile.cs
@@ -2,6 +2,8 @@
using Acme.BookStore.Books;
using AutoMapper;
using WY.NewJit.Books;
+using WY.NewJit.EdiReceive.Dtos;
+using WY.NewJit.EdiReceive.Entitys;
using WY.NewJit.Extends;
using WY.NewJit.MsgBaseData;
using WY.NewJit.MsgCheck;
@@ -109,6 +111,13 @@ namespace WY.NewJit
CreateMap().ReverseMap();
#endregion
+ #region 导出记录
+ CreateMap().ReverseMap();
+ CreateMap().ReverseMap();
+ CreateMap().ReverseMap();
+ CreateMap().ReverseMap();
+ #endregion
+
}
}
}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/WY.NewJit.Application.xml b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/WY.NewJit.Application.xml
index 5575954..cc6ce29 100644
--- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/WY.NewJit.Application.xml
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/WY.NewJit.Application.xml
@@ -9,6 +9,121 @@
BookAppService使用IObjectMapper将Book对象转换为BookDto对象, 将CreateUpdateBookDto对象转换为Book对象
+
+
+ 零件管理应用服务实现
+
+
+
+
+ 零件仓储
+
+
+
+
+ 日志
+
+
+
+
+ Dapper仓储
+
+
+
+
+ BLOB存储
+
+
+
+
+ 字典领域服务
+
+
+
+
+ 错误信息前缀
+
+
+
+
+ 构造函数
+
+
+
+
+ 取单表记录总数
+
+
+
+
+
+
+
+ 取单表当前页数据
+
+
+
+
+
+
+
+
+
+
+
+ 根据筛选条件获取实体列表
+
+
+
+
+ 根据筛选条件获取分页实体列表
+
+ 输入查询条件
+ 返回符合条件的排序分页列表
+
+
+
+ 按主键获取唯一实体
+
+ 主键
+ 实体信息
+
+
+
+ 添加实体
+
+ 添加内容
+ 执行成功返回真
+
+
+
+ 修改实体
+
+ 更新主键
+ 修改内容
+ 执行成功返回真
+
+
+
+ 删除实体
+
+ 删除主键
+ 执行成功返回真
+
+
+
+ 导出信息
+
+ 导出查询条件
+ 执行成功返回真
+
+
+
+ 导入
+
+ 导入文件
+ 执行成功返回真
+
生产线权限管理应用服务实现
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.DbMigrator/appsettings.json b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.DbMigrator/appsettings.json
index 37417cb..cae4e39 100644
--- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.DbMigrator/appsettings.json
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.DbMigrator/appsettings.json
@@ -1,6 +1,7 @@
{
"ConnectionStrings": {
- "Default": "Server=192.168.0.140;Database=NewJitPG_TEST_20230703;uid=sa;pwd=Microsoft2008"
+ "Default": "Server=dev.ccwin-in.com,6208;Database=NewJitPG_HQ_Temp;uid=sa;pwd=ChangkeTec@2021;"
+
/*"Default": "Server=192.168.0.213;Database=NewJitPG;uid=sa;pwd=Microsoft@2021"*/
/*"Default": "Server=LAPTOP-4TE7UPMR\\MYSQLSERVER;Database=NewJit;uid=sa;pwd=1"*/
},
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain.Shared/Common/ExtMethod.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain.Shared/Common/ExtMethod.cs
index d27c8f0..74c4da3 100644
--- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain.Shared/Common/ExtMethod.cs
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain.Shared/Common/ExtMethod.cs
@@ -321,6 +321,16 @@ namespace WY.NewJit.Common
return p_val != null && p_val > 0;
}
+ public static bool HasValue(this string p_val)
+ {
+ return (string.IsNullOrEmpty(p_val) == false);
+ }
+
+ public static bool HasValue(this DateTime? p_val)
+ {
+ return (p_val != null);
+ }
+
//public static string Left(this string param, int length)
//{
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain.Shared/Common/SwaggerGroupConsts.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain.Shared/Common/SwaggerGroupConsts.cs
index 991c7cf..9edfc38 100644
--- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain.Shared/Common/SwaggerGroupConsts.cs
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain.Shared/Common/SwaggerGroupConsts.cs
@@ -13,6 +13,7 @@ namespace WY.NewJit.Common
public const string 基础数据 = "基础数据";
public const string 扩展 = "扩展";
public const string 报文打印 = "报文打印";
+ public const string 报文接收 = "报文接收";
}
}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/EdiReceive/Entitys/ImportRecord.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/EdiReceive/Entitys/ImportRecord.cs
new file mode 100644
index 0000000..7ace273
--- /dev/null
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/EdiReceive/Entitys/ImportRecord.cs
@@ -0,0 +1,139 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Volo.Abp.Domain.Entities;
+using Volo.Abp.Domain.Entities.Auditing;
+
+namespace WY.NewJit.EdiReceive.Entitys
+{
+ ///
+ /// 导入记录
+ ///
+ public class ImportRecord : Entity
+ {
+ ///
+ /// 工厂
+ ///
+ public virtual string Factory { get; set; }
+
+ ///
+ /// 车位
+ ///
+ public virtual string VehicleLocation { get; set; }
+
+ ///
+ /// 工位
+ ///
+ public virtual string WorkLocation { get; set; }
+
+ ///
+ /// 底盘号
+ ///
+ public virtual string Vin { get; set; }
+
+ ///
+ /// 车身号
+ ///
+ public virtual string VehicleBodyCode { get; set; }
+
+ ///
+ /// 车型代码
+ ///
+ public virtual string VehicleModelCode { get; set; }
+
+ ///
+ /// 车型名称
+ ///
+ public virtual string VehicleModelName { get; set; }
+
+ ///
+ /// 车型描述
+ ///
+ public virtual string VehicleModelDesc { get; set; }
+
+ ///
+ /// 规格
+ ///
+ public virtual string Spec { get; set; }
+
+ ///
+ /// 规格说明
+ ///
+ public virtual string SpecDesc { get; set; }
+
+ ///
+ /// 类别
+ ///
+ public virtual string Type { get; set; }
+
+ ///
+ /// 涂装下线时间
+ ///
+ public virtual DateTime? PaintOfflineTime { get; set; }
+
+ ///
+ /// 总装上线时间
+ ///
+ public virtual DateTime? OnlineTime { get; set; }
+
+ ///
+ /// 内饰颜色
+ ///
+ public virtual string InteriorColor { get; set; }
+
+ ///
+ /// 外饰颜色
+ ///
+ public virtual string ExteriorTrimmingColor { get; set; }
+
+ ///
+ /// 序列号
+ ///
+ public virtual string SerialNum { get; set; }
+
+ ///
+ /// 流水号
+ ///
+ public virtual int HostSN { get; set; }
+
+ ///
+ /// 生产线:A/B
+ ///
+ public virtual string ProductLine { get; set; }
+
+ ///
+ /// 目的
+ ///
+ public virtual string Target { get; set; }
+
+ ///
+ /// 备注
+ ///
+ public virtual string Remark { get; set; }
+
+ ///
+ /// 创建时间
+ ///
+ public virtual DateTime? CreateTime { get; set; }
+
+ ///
+ /// 创建人
+ ///
+ public virtual string CreatePerson { get; set; }
+
+ public virtual DateTime? ImportTime { get; set; }
+
+ public virtual string ImportPerson { get; set; }
+
+ public virtual string Remark2 { get; set; }
+
+ public virtual string Remark3 { get; set; }
+
+ public virtual string Remark4 { get; set; }
+
+ public virtual string Remark5 { get; set; }
+
+ }
+}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/EdiReceive/Entitys/ImportRecordHis.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/EdiReceive/Entitys/ImportRecordHis.cs
new file mode 100644
index 0000000..0be703b
--- /dev/null
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/EdiReceive/Entitys/ImportRecordHis.cs
@@ -0,0 +1,139 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Volo.Abp.Domain.Entities;
+using Volo.Abp.Domain.Entities.Auditing;
+
+namespace WY.NewJit.EdiReceive.Entitys
+{
+ ///
+ /// 导入记录
+ ///
+ public class ImportRecordHis : Entity
+ {
+ ///
+ /// 工厂
+ ///
+ public virtual string Factory { get; set; }
+
+ ///
+ /// 车位
+ ///
+ public virtual string VehicleLocation { get; set; }
+
+ ///
+ /// 工位
+ ///
+ public virtual string WorkLocation { get; set; }
+
+ ///
+ /// 底盘号
+ ///
+ public virtual string Vin { get; set; }
+
+ ///
+ /// 车身号
+ ///
+ public virtual string VehicleBodyCode { get; set; }
+
+ ///
+ /// 车型代码
+ ///
+ public virtual string VehicleModelCode { get; set; }
+
+ ///
+ /// 车型名称
+ ///
+ public virtual string VehicleModelName { get; set; }
+
+ ///
+ /// 车型描述
+ ///
+ public virtual string VehicleModelDesc { get; set; }
+
+ ///
+ /// 规格
+ ///
+ public virtual string Spec { get; set; }
+
+ ///
+ /// 规格说明
+ ///
+ public virtual string SpecDesc { get; set; }
+
+ ///
+ /// 类别
+ ///
+ public virtual string Type { get; set; }
+
+ ///
+ /// 涂装下线时间
+ ///
+ public virtual DateTime? PaintOfflineTime { get; set; }
+
+ ///
+ /// 总装上线时间
+ ///
+ public virtual DateTime? OnlineTime { get; set; }
+
+ ///
+ /// 内饰颜色
+ ///
+ public virtual string InteriorColor { get; set; }
+
+ ///
+ /// 外饰颜色
+ ///
+ public virtual string ExteriorTrimmingColor { get; set; }
+
+ ///
+ /// 序列号
+ ///
+ public virtual string SerialNum { get; set; }
+
+ ///
+ /// 流水号
+ ///
+ public virtual int HostSN { get; set; }
+
+ ///
+ /// 生产线:A/B
+ ///
+ public virtual string ProductLine { get; set; }
+
+ ///
+ /// 目的
+ ///
+ public virtual string Target { get; set; }
+
+ ///
+ /// 备注
+ ///
+ public virtual string Remark { get; set; }
+
+ ///
+ /// 创建时间
+ ///
+ public virtual DateTime? CreateTime { get; set; }
+
+ ///
+ /// 创建人
+ ///
+ public virtual string CreatePerson { get; set; }
+
+ public virtual DateTime? ImportTime { get; set; }
+
+ public virtual string ImportPerson { get; set; }
+
+ public virtual string Remark2 { get; set; }
+
+ public virtual string Remark3 { get; set; }
+
+ public virtual string Remark4 { get; set; }
+
+ public virtual string Remark5 { get; set; }
+
+ }
+}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/EdiReceive/Entitys/LastImportHostSN.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/EdiReceive/Entitys/LastImportHostSN.cs
new file mode 100644
index 0000000..8038136
--- /dev/null
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/EdiReceive/Entitys/LastImportHostSN.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Volo.Abp.Domain.Entities;
+
+namespace WY.NewJit.EdiReceive.Entitys
+{
+ public class LastImportHostSN : Entity
+ {
+ public string ProductLineCode { get; set; }
+
+ public int HostSN { get; set; }
+
+ }
+}
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/WY.NewJit.Domain.csproj b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/WY.NewJit.Domain.csproj
index 7fda79f..55f387a 100644
--- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/WY.NewJit.Domain.csproj
+++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/WY.NewJit.Domain.csproj
@@ -30,6 +30,7 @@
+
diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.EntityFrameworkCore.DbMigrations/Migrations/20220701062532_Created_NewJit_Entity2022-07-01.Designer.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.EntityFrameworkCore.DbMigrations/Migrations/20220701062532_Created_NewJit_Entity2022-07-01.Designer.cs
deleted file mode 100644
index ab3450b..0000000
--- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.EntityFrameworkCore.DbMigrations/Migrations/20220701062532_Created_NewJit_Entity2022-07-01.Designer.cs
+++ /dev/null
@@ -1,5757 +0,0 @@
-//
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-using WY.NewJit.EntityFrameworkCore;
-
-namespace WY.NewJit.Migrations
-{
- [DbContext(typeof(NewJitMigrationsDbContext))]
- [Migration("20220701062532_Created_NewJit_Entity2022-07-01")]
- partial class Created_NewJit_Entity20220701
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
- .HasAnnotation("Relational:MaxIdentifierLength", 128)
- .HasAnnotation("ProductVersion", "5.0.17")
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("ApplicationName")
- .HasMaxLength(96)
- .HasColumnType("nvarchar(96)")
- .HasColumnName("ApplicationName");
-
- b.Property("BrowserInfo")
- .HasMaxLength(512)
- .HasColumnType("nvarchar(512)")
- .HasColumnName("BrowserInfo");
-
- b.Property("ClientId")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)")
- .HasColumnName("ClientId");
-
- b.Property("ClientIpAddress")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)")
- .HasColumnName("ClientIpAddress");
-
- b.Property("ClientName")
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)")
- .HasColumnName("ClientName");
-
- b.Property("Comments")
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
- .HasColumnName("Comments");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CorrelationId")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)")
- .HasColumnName("CorrelationId");
-
- b.Property("Exceptions")
- .HasMaxLength(4000)
- .HasColumnType("nvarchar(4000)")
- .HasColumnName("Exceptions");
-
- b.Property("ExecutionDuration")
- .HasColumnType("int")
- .HasColumnName("ExecutionDuration");
-
- b.Property("ExecutionTime")
- .HasColumnType("datetime2");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("HttpMethod")
- .HasMaxLength(16)
- .HasColumnType("nvarchar(16)")
- .HasColumnName("HttpMethod");
-
- b.Property("HttpStatusCode")
- .HasColumnType("int")
- .HasColumnName("HttpStatusCode");
-
- b.Property("ImpersonatorTenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("ImpersonatorTenantId");
-
- b.Property("ImpersonatorUserId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("ImpersonatorUserId");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.Property("TenantName")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Url")
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
- .HasColumnName("Url");
-
- b.Property("UserId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("UserId");
-
- b.Property("UserName")
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
- .HasColumnName("UserName");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "ExecutionTime");
-
- b.HasIndex("TenantId", "UserId", "ExecutionTime");
-
- b.ToTable("AbpAuditLogs");
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("AuditLogId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("AuditLogId");
-
- b.Property("ExecutionDuration")
- .HasColumnType("int")
- .HasColumnName("ExecutionDuration");
-
- b.Property("ExecutionTime")
- .HasColumnType("datetime2")
- .HasColumnName("ExecutionTime");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("MethodName")
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)")
- .HasColumnName("MethodName");
-
- b.Property("Parameters")
- .HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)")
- .HasColumnName("Parameters");
-
- b.Property("ServiceName")
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
- .HasColumnName("ServiceName");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("AuditLogId");
-
- b.HasIndex("TenantId", "ServiceName", "MethodName", "ExecutionTime");
-
- b.ToTable("AbpAuditLogActions");
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("AuditLogId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("AuditLogId");
-
- b.Property("ChangeTime")
- .HasColumnType("datetime2")
- .HasColumnName("ChangeTime");
-
- b.Property("ChangeType")
- .HasColumnType("tinyint")
- .HasColumnName("ChangeType");
-
- b.Property("EntityId")
- .IsRequired()
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)")
- .HasColumnName("EntityId");
-
- b.Property("EntityTenantId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("EntityTypeFullName")
- .IsRequired()
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)")
- .HasColumnName("EntityTypeFullName");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("AuditLogId");
-
- b.HasIndex("TenantId", "EntityTypeFullName", "EntityId");
-
- b.ToTable("AbpEntityChanges");
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("EntityChangeId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("NewValue")
- .HasMaxLength(512)
- .HasColumnType("nvarchar(512)")
- .HasColumnName("NewValue");
-
- b.Property("OriginalValue")
- .HasMaxLength(512)
- .HasColumnType("nvarchar(512)")
- .HasColumnName("OriginalValue");
-
- b.Property("PropertyName")
- .IsRequired()
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)")
- .HasColumnName("PropertyName");
-
- b.Property("PropertyTypeFullName")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)")
- .HasColumnName("PropertyTypeFullName");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("EntityChangeId");
-
- b.ToTable("AbpEntityPropertyChanges");
- });
-
- modelBuilder.Entity("Volo.Abp.BackgroundJobs.BackgroundJobRecord", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2")
- .HasColumnName("CreationTime");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsAbandoned")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
-
- b.Property("JobArgs")
- .IsRequired()
- .HasMaxLength(1048576)
- .HasColumnType("nvarchar(max)");
-
- b.Property("JobName")
- .IsRequired()
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)");
-
- b.Property("LastTryTime")
- .HasColumnType("datetime2");
-
- b.Property("NextTryTime")
- .HasColumnType("datetime2");
-
- b.Property("Priority")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint")
- .HasDefaultValue((byte)15);
-
- b.Property("TryCount")
- .ValueGeneratedOnAdd()
- .HasColumnType("smallint")
- .HasDefaultValue((short)0);
-
- b.HasKey("Id");
-
- b.HasIndex("IsAbandoned", "NextTryTime");
-
- b.ToTable("AbpBackgroundJobs");
- });
-
- modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureValue", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)");
-
- b.Property("ProviderKey")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("ProviderName")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("Value")
- .IsRequired()
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)");
-
- b.HasKey("Id");
-
- b.HasIndex("Name", "ProviderName", "ProviderKey");
-
- b.ToTable("AbpFeatureValues");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("Description")
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsStatic")
- .HasColumnType("bit");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
-
- b.Property("Regex")
- .HasMaxLength(512)
- .HasColumnType("nvarchar(512)");
-
- b.Property("RegexDescription")
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)");
-
- b.Property("Required")
- .HasColumnType("bit");
-
- b.Property("ValueType")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("AbpClaimTypes");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityLinkUser", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("SourceTenantId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("SourceUserId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("TargetTenantId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("TargetUserId")
- .HasColumnType("uniqueidentifier");
-
- b.HasKey("Id");
-
- b.HasIndex("SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId")
- .IsUnique()
- .HasFilter("[SourceTenantId] IS NOT NULL AND [TargetTenantId] IS NOT NULL");
-
- b.ToTable("AbpLinkUsers");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDefault")
- .HasColumnType("bit")
- .HasColumnName("IsDefault");
-
- b.Property("IsPublic")
- .HasColumnType("bit")
- .HasColumnName("IsPublic");
-
- b.Property("IsStatic")
- .HasColumnType("bit")
- .HasColumnName("IsStatic");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
-
- b.Property("NormalizedName")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("NormalizedName");
-
- b.ToTable("AbpRoles");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>
- {
- b.Property("Id")
- .HasColumnType("uniqueidentifier");
-
- b.Property("ClaimType")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
-
- b.Property("ClaimValue")
- .HasMaxLength(1024)
- .HasColumnType("nvarchar(1024)");
-
- b.Property("RoleId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("RoleId");
-
- b.ToTable("AbpRoleClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentitySecurityLog", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("Action")
- .HasMaxLength(96)
- .HasColumnType("nvarchar(96)");
-
- b.Property("ApplicationName")
- .HasMaxLength(96)
- .HasColumnType("nvarchar(96)");
-
- b.Property("BrowserInfo")
- .HasMaxLength(512)
- .HasColumnType("nvarchar(512)");
-
- b.Property("ClientId")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("ClientIpAddress")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CorrelationId")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("Identity")
- .HasMaxLength(96)
- .HasColumnType("nvarchar(96)");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.Property("TenantName")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("UserId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("UserName")
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "Action");
-
- b.HasIndex("TenantId", "ApplicationName");
-
- b.HasIndex("TenantId", "Identity");
-
- b.HasIndex("TenantId", "UserId");
-
- b.ToTable("AbpSecurityLogs");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("AccessFailedCount")
- .ValueGeneratedOnAdd()
- .HasColumnType("int")
- .HasDefaultValue(0)
- .HasColumnName("AccessFailedCount");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime2")
- .HasColumnName("DeletionTime");
-
- b.Property("Email")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
- .HasColumnName("Email");
-
- b.Property("EmailConfirmed")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("EmailConfirmed");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("IsExternal")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("IsExternal");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime2")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("LastModifierId");
-
- b.Property("LockoutEnabled")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("LockoutEnabled");
-
- b.Property("LockoutEnd")
- .HasColumnType("datetimeoffset");
-
- b.Property("Name")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)")
- .HasColumnName("Name");
-
- b.Property("NormalizedEmail")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
- .HasColumnName("NormalizedEmail");
-
- b.Property("NormalizedUserName")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
- .HasColumnName("NormalizedUserName");
-
- b.Property("PasswordHash")
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
- .HasColumnName("PasswordHash");
-
- b.Property("PhoneNumber")
- .HasMaxLength(16)
- .HasColumnType("nvarchar(16)")
- .HasColumnName("PhoneNumber");
-
- b.Property("PhoneNumberConfirmed")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("PhoneNumberConfirmed");
-
- b.Property("SecurityStamp")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
- .HasColumnName("SecurityStamp");
-
- b.Property("Surname")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)")
- .HasColumnName("Surname");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.Property("TwoFactorEnabled")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("TwoFactorEnabled");
-
- b.Property("UserName")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
- .HasColumnName("UserName");
-
- b.HasKey("Id");
-
- b.HasIndex("Email");
-
- b.HasIndex("NormalizedEmail");
-
- b.HasIndex("NormalizedUserName");
-
- b.HasIndex("UserName");
-
- b.ToTable("AbpUsers");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b =>
- {
- b.Property("Id")
- .HasColumnType("uniqueidentifier");
-
- b.Property("ClaimType")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
-
- b.Property("ClaimValue")
- .HasMaxLength(1024)
- .HasColumnType("nvarchar(1024)");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.Property("UserId")
- .HasColumnType("uniqueidentifier");
-
- b.HasKey("Id");
-
- b.HasIndex("UserId");
-
- b.ToTable("AbpUserClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
- {
- b.Property("UserId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("LoginProvider")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("ProviderDisplayName")
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)");
-
- b.Property("ProviderKey")
- .IsRequired()
- .HasMaxLength(196)
- .HasColumnType("nvarchar(196)");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.HasKey("UserId", "LoginProvider");
-
- b.HasIndex("LoginProvider", "ProviderKey");
-
- b.ToTable("AbpUserLogins");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b =>
- {
- b.Property("OrganizationUnitId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("UserId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("CreatorId");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.HasKey("OrganizationUnitId", "UserId");
-
- b.HasIndex("UserId", "OrganizationUnitId");
-
- b.ToTable("AbpUserOrganizationUnits");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b =>
- {
- b.Property("UserId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("RoleId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.HasKey("UserId", "RoleId");
-
- b.HasIndex("RoleId", "UserId");
-
- b.ToTable("AbpUserRoles");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b =>
- {
- b.Property("UserId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("LoginProvider")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("Name")
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.Property("Value")
- .HasColumnType("nvarchar(max)");
-
- b.HasKey("UserId", "LoginProvider", "Name");
-
- b.ToTable("AbpUserTokens");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("Code")
- .IsRequired()
- .HasMaxLength(95)
- .HasColumnType("nvarchar(95)")
- .HasColumnName("Code");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime2")
- .HasColumnName("DeletionTime");
-
- b.Property("DisplayName")
- .IsRequired()
- .HasMaxLength(128)
- .HasColumnType("nvarchar(128)")
- .HasColumnName("DisplayName");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime2")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("LastModifierId");
-
- b.Property("ParentId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("Code");
-
- b.HasIndex("ParentId");
-
- b.ToTable("AbpOrganizationUnits");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b =>
- {
- b.Property("OrganizationUnitId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("RoleId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("CreatorId");
-
- b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("TenantId");
-
- b.HasKey("OrganizationUnitId", "RoleId");
-
- b.HasIndex("RoleId", "OrganizationUnitId");
-
- b.ToTable("AbpOrganizationUnitRoles");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResource", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("AllowedAccessTokenSigningAlgorithms")
- .HasMaxLength(100)
- .HasColumnType("nvarchar(100)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime2")
- .HasColumnName("DeletionTime");
-
- b.Property("Description")
- .HasMaxLength(1000)
- .HasColumnType("nvarchar(1000)");
-
- b.Property("DisplayName")
- .HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
-
- b.Property("Enabled")
- .HasColumnType("bit");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime2")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("LastModifierId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
-
- b.Property("ShowInDiscoveryDocument")
- .HasColumnType("bit");
-
- b.HasKey("Id");
-
- b.ToTable("IdentityServerApiResources");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceClaim", b =>
- {
- b.Property("ApiResourceId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Type")
- .HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
-
- b.HasKey("ApiResourceId", "Type");
-
- b.ToTable("IdentityServerApiResourceClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceProperty", b =>
- {
- b.Property("ApiResourceId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Key")
- .HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
-
- b.Property("Value")
- .HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
-
- b.HasKey("ApiResourceId", "Key", "Value");
-
- b.ToTable("IdentityServerApiResourceProperties");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceScope", b =>
- {
- b.Property("ApiResourceId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Scope")
- .HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
-
- b.HasKey("ApiResourceId", "Scope");
-
- b.ToTable("IdentityServerApiResourceScopes");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceSecret", b =>
- {
- b.Property("ApiResourceId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Type")
- .HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
-
- b.Property("Value")
- .HasMaxLength(4000)
- .HasColumnType("nvarchar(4000)");
-
- b.Property("Description")
- .HasMaxLength(1000)
- .HasColumnType("nvarchar(1000)");
-
- b.Property("Expiration")
- .HasColumnType("datetime2");
-
- b.HasKey("ApiResourceId", "Type", "Value");
-
- b.ToTable("IdentityServerApiResourceSecrets");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiScopes.ApiScope", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime2")
- .HasColumnName("DeletionTime");
-
- b.Property("Description")
- .HasMaxLength(1000)
- .HasColumnType("nvarchar(1000)");
-
- b.Property("DisplayName")
- .HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
-
- b.Property("Emphasize")
- .HasColumnType("bit");
-
- b.Property("Enabled")
- .HasColumnType("bit");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime2")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("LastModifierId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
-
- b.Property("Required")
- .HasColumnType("bit");
-
- b.Property("ShowInDiscoveryDocument")
- .HasColumnType("bit");
-
- b.HasKey("Id");
-
- b.ToTable("IdentityServerApiScopes");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiScopes.ApiScopeClaim", b =>
- {
- b.Property("ApiScopeId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Type")
- .HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
-
- b.HasKey("ApiScopeId", "Type");
-
- b.ToTable("IdentityServerApiScopeClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.ApiScopes.ApiScopeProperty", b =>
- {
- b.Property("ApiScopeId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Key")
- .HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
-
- b.Property("Value")
- .HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
-
- b.HasKey("ApiScopeId", "Key", "Value");
-
- b.ToTable("IdentityServerApiScopeProperties");
- });
-
- modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.Client", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("AbsoluteRefreshTokenLifetime")
- .HasColumnType("int");
-
- b.Property("AccessTokenLifetime")
- .HasColumnType("int");
-
- b.Property("AccessTokenType")
- .HasColumnType("int");
-
- b.Property("AllowAccessTokensViaBrowser")
- .HasColumnType("bit");
-
- b.Property("AllowOfflineAccess")
- .HasColumnType("bit");
-
- b.Property("AllowPlainTextPkce")
- .HasColumnType("bit");
-
- b.Property("AllowRememberConsent")
- .HasColumnType("bit");
-
- b.Property("AllowedIdentityTokenSigningAlgorithms")
- .HasMaxLength(100)
- .HasColumnType("nvarchar(100)");
-
- b.Property("AlwaysIncludeUserClaimsInIdToken")
- .HasColumnType("bit");
-
- b.Property("AlwaysSendClientClaims")
- .HasColumnType("bit");
-
- b.Property("AuthorizationCodeLifetime")
- .HasColumnType("int");
-
- b.Property("BackChannelLogoutSessionRequired")
- .HasColumnType("bit");
-
- b.Property("BackChannelLogoutUri")
- .HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
-
- b.Property("ClientClaimsPrefix")
- .HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
-
- b.Property("ClientId")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
-
- b.Property("ClientName")
- .HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
-
- b.Property("ClientUri")
- .HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("ConsentLifetime")
- .HasColumnType("int");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2")
- .HasColumnName("CreationTime");
-
- b.Property