Browse Source

[add] 添加当前SCP的实体和仓储项目

master
贾荣国 3 years ago
parent
commit
0d45683ff2
  1. 425
      WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain/SCP/Class1.cs
  2. 4
      WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain/Win_in.Sfs.Scp.WebApi.Domain.csproj
  3. 8
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Class1.cs
  4. 9
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Parts/IPartRepository.cs
  5. 74
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Parts/TA_PART.cs
  6. 9
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/PurchaseOrders/IPurchaseOrderRepository.cs
  7. 61
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/PurchaseOrders/TB_PO.cs
  8. 89
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/PurchaseOrders/TB_PO_DETAIL.cs
  9. 9
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Receipts/IReceiptRepository.cs
  10. 75
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Receipts/TB_RECEIVE_DETAIL_QAD.cs
  11. 56
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Receipts/TB_RECEIVE_QAD.cs
  12. 14
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/RecordEntity.cs
  13. 9
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Rejects/IReceiptRepository.cs
  14. 40
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Rejects/TB_REJECT.cs
  15. 31
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Rejects/TB_REJECT_DETAIL.cs
  16. 9
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Suppliers/ISupplierRepository.cs
  17. 75
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Suppliers/TA_VENDER.cs
  18. 14
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/V1ScpDomainModule.cs
  19. 11
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/VConsts.cs
  20. 5
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Win_in.Sfs.Scp.v1.Domain.csproj
  21. 8
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/Class1.cs
  22. 14
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/IV1ScpDbContext.cs
  23. 14
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/PartRepository.cs
  24. 13
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/PurchaseOrderRepository.cs
  25. 13
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/ReceiptRepository.cs
  26. 13
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/RejectRepository.cs
  27. 13
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/SupplierRepository.cs
  28. 48
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/V1ScpDbContext.cs
  29. 230
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/V1ScpDbContextModelCreatingExtensions.cs
  30. 60
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/V1ScpEntityFrameworkCoreModule.cs
  31. 18
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/V1ScpModelBuilderConfigurationOptions.cs
  32. 11
      WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/Win_in.Sfs.Scp.v1.EntityFrameworkCore.csproj

425
WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain/SCP/Class1.cs

@ -1,425 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Win_in.Sfs.Scp.WebApi.SCP;
public class TA_PART
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string PartCode { get; set; }
[Required]
[StringLength(50)]
public string ErpPartCode { get; set; }
// [Required]
public string PartDesc1 { get; set; }
// [Required]
public string PartDesc2 { get; set; }
// [Required]
[StringLength(50)]
public string ProjectId { get; set; }
[Required]
[StringLength(50)]
public string Unit { get; set; }
// [Required]
[StringLength(50)]
public string PartGroup { get; set; }
[Required]
[StringLength(10)]
public string State { get; set; }
[StringLength(100)]
public string Configuration { get; set; }
public int ValidityDays { get; set; }
[StringLength(50)]
public string ReceivePort { get; set; }
[StringLength(50)]
public string PalletSize { get; set; }
[StringLength(500)]
public string Remark { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Site { get; set; }
public string Qlevel { get; set; }
public bool? Ischeck { get; set; }
}
public class TA_VENDER
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string VendId { get; set; }
[Required]
[StringLength(50)]
public string VendName { get; set; }
[Required]
[StringLength(50)]
public string VendAbbCode { get; set; }
[StringLength(50)]
public string VendType { get; set; }
[StringLength(50)]
public string Country { get; set; }
[StringLength(50)]
public string City { get; set; }
[StringLength(50)]
public string Currency { get; set; }
[StringLength(200)]
public string Address { get; set; }
[StringLength(50)]
public string ZipCode { get; set; }
[StringLength(50)]
public string Contacter { get; set; }
[StringLength(50)]
public string Phone { get; set; }
[StringLength(50)]
public string Fax { get; set; }
[StringLength(50)]
public string Email { get; set; }
public int State { get; set; }
[StringLength(500)]
public string Remark { get; set; }
public decimal? Tax { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Site { get; set; }
public int? ReceiveTimeScope { set; get; }
public decimal? Quota { set; get; }
}
public class TB_PO : RecordEntity
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string PoBillNum { get; set; }
[StringLength(50)]
public string ErpBillNum { get; set; }
[StringLength(50)]
public string VendId { get; set; }
public int? ModType { get; set; }
[StringLength(50)]
public string Contacter { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Site { get; set; }
[StringLength(50)]
public string Buyer { get; set; }
[StringLength(50)]
public string BuyerPhone { get; set; }
public int State { get; set; }
[StringLength(200)]
public string Remark { get; set; }
public DateTime? BeginTime { get; set; }
public DateTime? EndTime { get; set; }
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
public string SubSite { get; set; }
}
public class TB_PO_DETAIL : RecordEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[StringLength(50)]
public string PoBillNum { get; set; }
public int PoLine { get; set; }
public Nullable<DateTime> BeginTime { get; set; }
public Nullable<DateTime> EndTime { get; set; }
[Required]
[StringLength(50)]
public string PartCode { get; set; }
[Column(TypeName = "money")]
public decimal ShippedQty { get; set; }
[Column(TypeName = "money")]
public decimal ReceivedQty { get; set; }
public string RejectQty { get; set; }
[StringLength(50)]
public string PoUnit { get; set; }
[StringLength(50)]
public string LocUnit { get; set; }
[Column(TypeName = "money")]
public decimal Price { get; set; }
[StringLength(50)]
public string Currency { get; set; }
public decimal PlanQty { get; set; }
[Column(TypeName = "money")]
public decimal PackQty { get; set; }
[Column(TypeName = "money")]
public decimal? TempQty { get; set; }
public int State { get; set; }
[StringLength(200)]
public string Remark { get; set; }
public decimal UnConv { get; set; }
[StringLength(50)]
public string DockCode { get; set; }
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
public string SubSite { get; set; }
public string Site { get; set; }
}
public class TB_RECEIVE_QAD
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[StringLength(50)]
public string RecvBillNum { get; set; }
[StringLength(50)]
public string PoBillNum { get; set; }
[StringLength(50)]
public string AsnBillNum { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Site { get; set; }
[StringLength(50)]
public string VendId { get; set; }
public DateTime ShipTime { get; set; }
public int State { get; set; }
[StringLength(50)]
public string Remark { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
[StringLength(50)]
public string OperName { get; set; }
public int BillType { get; set; }
[Key]
[Column(Order = 0)]
public string ErpRecvBillNum { get; set; }
public string Tax { get; set; }
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
public string SubSite { get; set; }
}
public class TB_RECEIVE_DETAIL_QAD
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[StringLength(50)]
public string RecvBillNum { get; set; }
//[Key]
//[Column(Order = 1)]
//[StringLength(50)]
public string PoBillNum { get; set; }
//[Key]
//[Column(Order = 2)]
public int PoLine { get; set; }
[Key]
[Column(Order = 3)]
[StringLength(50)]
public string PartCode { get; set; }
[StringLength(50)]
public string Batch { get; set; }
public decimal Qty { get; set; }
[StringLength(50)]
public string DockCode { get; set; }
public int State { get; set; }
[StringLength(500)]
public string Remark { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
public int BillType { get; set; }
[StringLength(50)]
public string VendBatch { get; set; }
[StringLength(50)]
public string PoUnit { get; set; }
[StringLength(50)]
public string LocUnit { get; set; }
[Key]
[Column(Order = 0)]
public string ErpRecvBillNum { get; set; }
/// <summary>
/// 采购价
/// </summary>
public decimal? PurCost { get; set; }
/// <summary>
/// 成本价
/// </summary>
public decimal? StdCost { get; set; }
[Key]
[Column(Order = 4)]
public string Site { get; set; }
public decimal? Rate { get; set; }
public decimal? CurAmt { get; set; }
public string Tax { get; set; }
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
public string SubSite { get; set; }
}
public class TB_REJECT
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public long UID { get; set; }
[StringLength(50)]
public string RjctBillNum { get; set; }
[StringLength(50)]
public string PoBillNum { get; set; }
[StringLength(50)]
public string AsnBillNum { get; set; }
[StringLength(50)]
public string Site { get; set; }
[StringLength(50)]
public string VendId { get; set; }
public DateTime ShipTime { get; set; }
public int State { get; set; }
[StringLength(50)]
public string Remark { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
[StringLength(50)]
public string OperName { get; set; }
}
public class TB_REJECT_DETAIL
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public long UID { get; set; }
[StringLength(50)]
public string RjctBillNum { get; set; }
[StringLength(50)]
public string PoBillNum { get; set; }
public int PoLine { get; set; }
[StringLength(50)]
public string PartCode { get; set; }
[StringLength(50)]
public string Batch { get; set; }
public decimal Qty { get; set; }
public int State { get; set; }
[StringLength(50)]
public string Remark { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
}
[Serializable]
public class RecordEntity
{
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public DateTime? UpdateTime { get; set; }
[StringLength(50)]
public string UpdateUser { get; set; }
[StringLength(50)]
public string UpdateInfo { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
}

4
WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain/Win_in.Sfs.Scp.WebApi.Domain.csproj

@ -24,8 +24,4 @@
<PackageReference Include="Volo.Abp.SettingManagement.Domain" Version="4.4.2" /> <PackageReference Include="Volo.Abp.SettingManagement.Domain" Version="4.4.2" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="SCP\" />
</ItemGroup>
</Project> </Project>

8
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Class1.cs

@ -1,8 +0,0 @@
using System;
namespace Win_in.Sfs.Scp.v1.Domain
{
public class Class1
{
}
}

9
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Parts/IPartRepository.cs

@ -0,0 +1,9 @@
using Volo.Abp.Domain.Repositories;
namespace Win_in.Sfs.Scp.v1.Domain
{
public interface IPartRepository : IRepository<TA_PART>
{
}
}

74
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Parts/TA_PART.cs

@ -0,0 +1,74 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;
namespace Win_in.Sfs.Scp.v1.Domain
{
public class TA_PART:Entity
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string PartCode { get; set; }
[Required]
[StringLength(50)]
public string ErpPartCode { get; set; }
// [Required]
public string PartDesc1 { get; set; }
// [Required]
public string PartDesc2 { get; set; }
// [Required]
[StringLength(50)]
public string ProjectId { get; set; }
[Required]
[StringLength(50)]
public string Unit { get; set; }
// [Required]
[StringLength(50)]
public string PartGroup { get; set; }
[Required]
[StringLength(10)]
public string State { get; set; }
[StringLength(100)]
public string Configuration { get; set; }
public int ValidityDays { get; set; }
[StringLength(50)]
public string ReceivePort { get; set; }
[StringLength(50)]
public string PalletSize { get; set; }
[StringLength(500)]
public string Remark { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Site { get; set; }
public string Qlevel { get; set; }
public bool? Ischeck { get; set; }
public override object[] GetKeys()
{
return new object[]{Site,PartCode};
}
}
}

9
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/PurchaseOrders/IPurchaseOrderRepository.cs

@ -0,0 +1,9 @@
using Volo.Abp.Domain.Repositories;
namespace Win_in.Sfs.Scp.v1.Domain
{
public interface IPurchaseOrderRepository : IRepository<TB_PO>
{
}
}

61
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/PurchaseOrders/TB_PO.cs

@ -0,0 +1,61 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;
namespace Win_in.Sfs.Scp.v1.Domain
{
public class TB_PO : Entity
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string PoBillNum { get; set; }
[StringLength(50)]
public string ErpBillNum { get; set; }
[StringLength(50)]
public string VendId { get; set; }
public int? ModType { get; set; }
[StringLength(50)]
public string Contacter { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Site { get; set; }
[StringLength(50)]
public string Buyer { get; set; }
[StringLength(50)]
public string BuyerPhone { get; set; }
public int State { get; set; }
[StringLength(200)]
public string Remark { get; set; }
public DateTime? BeginTime { get; set; }
public DateTime? EndTime { get; set; }
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
public string SubSite { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public DateTime? UpdateTime { get; set; }
[StringLength(50)]
public string UpdateUser { get; set; }
[StringLength(50)]
public string UpdateInfo { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
public override object[] GetKeys()
{
return new object[] { Site, PoBillNum };
}
}
}

89
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/PurchaseOrders/TB_PO_DETAIL.cs

@ -0,0 +1,89 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;
namespace Win_in.Sfs.Scp.v1.Domain
{
public class TB_PO_DETAIL : Entity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[StringLength(50)]
public string PoBillNum { get; set; }
public int PoLine { get; set; }
public DateTime? BeginTime { get; set; }
public DateTime? EndTime { get; set; }
[Required]
[StringLength(50)]
public string PartCode { get; set; }
[Column(TypeName = "money")]
public decimal ShippedQty { get; set; }
[Column(TypeName = "money")]
public decimal ReceivedQty { get; set; }
public string RejectQty { get; set; }
[StringLength(50)]
public string PoUnit { get; set; }
[StringLength(50)]
public string LocUnit { get; set; }
[Column(TypeName = "money")]
public decimal Price { get; set; }
[StringLength(50)]
public string Currency { get; set; }
public decimal PlanQty { get; set; }
[Column(TypeName = "money")]
public decimal PackQty { get; set; }
[Column(TypeName = "money")]
public decimal? TempQty { get; set; }
public int State { get; set; }
[StringLength(200)]
public string Remark { get; set; }
public decimal UnConv { get; set; }
[StringLength(50)]
public string DockCode { get; set; }
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
public string SubSite { get; set; }
public string Site { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public DateTime? UpdateTime { get; set; }
[StringLength(50)]
public string UpdateUser { get; set; }
[StringLength(50)]
public string UpdateInfo { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
public override object[] GetKeys()
{
return new object[] { UID };
}
}
}

9
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Receipts/IReceiptRepository.cs

@ -0,0 +1,9 @@
using Volo.Abp.Domain.Repositories;
namespace Win_in.Sfs.Scp.v1.Domain
{
public interface IReceiptRepository : IRepository<TB_RECEIVE_QAD>
{
}
}

75
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Receipts/TB_RECEIVE_DETAIL_QAD.cs

@ -0,0 +1,75 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Win_in.Sfs.Scp.v1.Domain
{
public class TB_RECEIVE_DETAIL_QAD
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[StringLength(50)]
public string RecvBillNum { get; set; }
//[Key]
//[Column(Order = 1)]
//[StringLength(50)]
public string PoBillNum { get; set; }
//[Key]
//[Column(Order = 2)]
public int PoLine { get; set; }
[Key]
[Column(Order = 3)]
[StringLength(50)]
public string PartCode { get; set; }
[StringLength(50)]
public string Batch { get; set; }
public decimal Qty { get; set; }
[StringLength(50)]
public string DockCode { get; set; }
public int State { get; set; }
[StringLength(500)]
public string Remark { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
public int BillType { get; set; }
[StringLength(50)]
public string VendBatch { get; set; }
[StringLength(50)]
public string PoUnit { get; set; }
[StringLength(50)]
public string LocUnit { get; set; }
[Key]
[Column(Order = 0)]
public string ErpRecvBillNum { get; set; }
/// <summary>
/// 采购价
/// </summary>
public decimal? PurCost { get; set; }
/// <summary>
/// 成本价
/// </summary>
public decimal? StdCost { get; set; }
[Key]
[Column(Order = 4)]
public string Site { get; set; }
public decimal? Rate { get; set; }
public decimal? CurAmt { get; set; }
public string Tax { get; set; }
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
public string SubSite { get; set; }
}
}

56
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Receipts/TB_RECEIVE_QAD.cs

@ -0,0 +1,56 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;
namespace Win_in.Sfs.Scp.v1.Domain
{
public class TB_RECEIVE_QAD:Entity
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[StringLength(50)]
public string RecvBillNum { get; set; }
[StringLength(50)]
public string PoBillNum { get; set; }
[StringLength(50)]
public string AsnBillNum { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Site { get; set; }
[StringLength(50)]
public string VendId { get; set; }
public DateTime ShipTime { get; set; }
public int State { get; set; }
[StringLength(50)]
public string Remark { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
[StringLength(50)]
public string OperName { get; set; }
public int BillType { get; set; }
[Key]
[Column(Order = 0)]
public string ErpRecvBillNum { get; set; }
public string Tax { get; set; }
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
public string SubSite { get; set; }
public override object[] GetKeys()
{
return new object[] { Site,ErpRecvBillNum };
}
}
}

14
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/RecordEntity.cs

@ -0,0 +1,14 @@
using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;
namespace Win_in.Sfs.Scp.v1.Domain
{
[Serializable]
public class RecordEntity
{
}
}

9
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Rejects/IReceiptRepository.cs

@ -0,0 +1,9 @@
using Volo.Abp.Domain.Repositories;
namespace Win_in.Sfs.Scp.v1.Domain
{
public interface IRejectRepository : IRepository<TB_REJECT>
{
}
}

40
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Rejects/TB_REJECT.cs

@ -0,0 +1,40 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;
namespace Win_in.Sfs.Scp.v1.Domain
{
public class TB_REJECT:Entity
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public long UID { get; set; }
[StringLength(50)]
public string RjctBillNum { get; set; }
[StringLength(50)]
public string PoBillNum { get; set; }
[StringLength(50)]
public string AsnBillNum { get; set; }
[StringLength(50)]
public string Site { get; set; }
[StringLength(50)]
public string VendId { get; set; }
public DateTime ShipTime { get; set; }
public int State { get; set; }
[StringLength(50)]
public string Remark { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
[StringLength(50)]
public string OperName { get; set; }
public override object[] GetKeys()
{
return new object[] { UID };
}
}
}

31
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Rejects/TB_REJECT_DETAIL.cs

@ -0,0 +1,31 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Win_in.Sfs.Scp.v1.Domain
{
public class TB_REJECT_DETAIL
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public long UID { get; set; }
[StringLength(50)]
public string RjctBillNum { get; set; }
[StringLength(50)]
public string PoBillNum { get; set; }
public int PoLine { get; set; }
[StringLength(50)]
public string PartCode { get; set; }
[StringLength(50)]
public string Batch { get; set; }
public decimal Qty { get; set; }
public int State { get; set; }
[StringLength(50)]
public string Remark { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public bool IsDeleted { get; set; }
public Guid GUID { get; set; }
}
}

9
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Suppliers/ISupplierRepository.cs

@ -0,0 +1,9 @@
using Volo.Abp.Domain.Repositories;
namespace Win_in.Sfs.Scp.v1.Domain
{
public interface ISupplierRepository : IRepository<TA_VENDER>
{
}
}

75
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Suppliers/TA_VENDER.cs

@ -0,0 +1,75 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;
namespace Win_in.Sfs.Scp.v1.Domain
{
public class TA_VENDER:Entity
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string VendId { get; set; }
[Required]
[StringLength(50)]
public string VendName { get; set; }
[Required]
[StringLength(50)]
public string VendAbbCode { get; set; }
[StringLength(50)]
public string VendType { get; set; }
[StringLength(50)]
public string Country { get; set; }
[StringLength(50)]
public string City { get; set; }
[StringLength(50)]
public string Currency { get; set; }
[StringLength(200)]
public string Address { get; set; }
[StringLength(50)]
public string ZipCode { get; set; }
[StringLength(50)]
public string Contacter { get; set; }
[StringLength(50)]
public string Phone { get; set; }
[StringLength(50)]
public string Fax { get; set; }
[StringLength(50)]
public string Email { get; set; }
public int State { get; set; }
[StringLength(500)]
public string Remark { get; set; }
public decimal? Tax { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Site { get; set; }
public int? ReceiveTimeScope { set; get; }
public decimal? Quota { set; get; }
public override object[] GetKeys()
{
return new object[] { Site, VendId };
}
}
}

14
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/V1ScpDomainModule.cs

@ -0,0 +1,14 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Volo.Abp.Modularity;
namespace Win_in.Sfs.Scp.WebApi
{
[DependsOn()]
public class V1ScpDomainModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
}
}
}

11
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/VConsts.cs

@ -0,0 +1,11 @@
namespace Win_in.Sfs.Scp.WebApi
{
public static class V1ScpConsts
{
public static string DbTablePrefix { get; set; } = "";
public static string DbSchema { get; set; } = null;
public const string ConnectionStringName = "V1Scp";
}
}

5
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Win_in.Sfs.Scp.v1.Domain.csproj

@ -4,4 +4,9 @@
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Core" Version="4.4.2" />
<PackageReference Include="Volo.Abp.Ddd.Domain" Version="4.4.2" />
</ItemGroup>
</Project> </Project>

8
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/Class1.cs

@ -1,8 +0,0 @@
using System;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
public class Class1
{
}
}

14
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/IV1ScpDbContext.cs

@ -0,0 +1,14 @@
using Microsoft.EntityFrameworkCore;
using Win_in.Sfs.Scp.v1.Domain;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
public interface IV1ScpDbContext
{
DbSet<TA_PART> Parts { get; set; }
DbSet<TA_VENDER> Suppliers { get; set; }
DbSet<TB_PO> PurchaseOrders { get; set; }
DbSet<TB_RECEIVE_QAD> Receipts { get; set; }
DbSet<TB_REJECT> Rejects { get; set; }
}
}

14
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/PartRepository.cs

@ -0,0 +1,14 @@
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using Win_in.Sfs.Scp.v1.Domain;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
public class PartRepository : EfCoreRepository<V1ScpDbContext, TA_PART>, IPartRepository
{
public PartRepository(IDbContextProvider<V1ScpDbContext> dbContextProvider) : base(dbContextProvider)
{
}
}
}

13
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/PurchaseOrderRepository.cs

@ -0,0 +1,13 @@
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using Win_in.Sfs.Scp.v1.Domain;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
public class PurchaseOrderRepository : EfCoreRepository<V1ScpDbContext, TB_PO>, IPurchaseOrderRepository
{
public PurchaseOrderRepository(IDbContextProvider<V1ScpDbContext> dbContextProvider) : base(dbContextProvider)
{
}
}
}

13
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/ReceiptRepository.cs

@ -0,0 +1,13 @@
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using Win_in.Sfs.Scp.v1.Domain;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
public class ReceiptRepository : EfCoreRepository<V1ScpDbContext, TB_RECEIVE_QAD>, IReceiptRepository
{
public ReceiptRepository(IDbContextProvider<V1ScpDbContext> dbContextProvider) : base(dbContextProvider)
{
}
}
}

13
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/RejectRepository.cs

@ -0,0 +1,13 @@
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using Win_in.Sfs.Scp.v1.Domain;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
public class RejectRepository : EfCoreRepository<V1ScpDbContext, TB_REJECT>, IRejectRepository
{
public RejectRepository(IDbContextProvider<V1ScpDbContext> dbContextProvider) : base(dbContextProvider)
{
}
}
}

13
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/SupplierRepository.cs

@ -0,0 +1,13 @@
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using Win_in.Sfs.Scp.v1.Domain;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
public class SupplierRepository : EfCoreRepository<V1ScpDbContext, TA_VENDER>, ISupplierRepository
{
public SupplierRepository(IDbContextProvider<V1ScpDbContext> dbContextProvider) : base(dbContextProvider)
{
}
}
}

48
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/V1ScpDbContext.cs

@ -0,0 +1,48 @@
using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using Win_in.Sfs.Scp.v1.Domain;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
public class V1ScpDbContext :
AbpDbContext<V1ScpDbContext>,
IV1ScpDbContext
{
/* Add DbSet properties for your Aggregate Roots / Entities here. */
public virtual DbSet<TA_PART> Parts { get; set; }
public virtual DbSet<TA_VENDER> Suppliers { get; set; }
public virtual DbSet<TB_PO> PurchaseOrders { get; set; }
public virtual DbSet<TB_RECEIVE_QAD> Receipts { get; set; }
public virtual DbSet<TB_REJECT> Rejects { get; set; }
public V1ScpDbContext(DbContextOptions<V1ScpDbContext> options)
: base(options)
{
}
protected override void OnModelCreating(ModelBuilder builder)
{
base.OnModelCreating(builder);
/* Configure your own tables/entities inside here */
//builder.Entity<YourEntity>(b =>
//{
// b.ToTable(WebApiConsts.DbTablePrefix + "YourEntities", WebApiConsts.DbSchema);
// b.ConfigureByConvention(); //auto configure for the base class props
// //...
//});
builder.ConfigureWebApi();
}
}
}

230
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/V1ScpDbContextModelCreatingExtensions.cs

@ -0,0 +1,230 @@
using System;
using Microsoft.EntityFrameworkCore;
using Volo.Abp;
using Volo.Abp.EntityFrameworkCore.Modeling;
using Win_in.Sfs.Scp.WebApi;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
public static class V1ScpDbContextModelCreatingExtensions
{
public const string IsDeletedFilter = "IsDeleted=0";
public static void ConfigureWebApi(
this ModelBuilder builder,
Action<V1ScpModelBuilderConfigurationOptions> optionsAction = null)
{
Check.NotNull(builder, nameof(builder));
var options = new V1ScpModelBuilderConfigurationOptions(
V1ScpConsts.DbTablePrefix,
V1ScpConsts.DbSchema
);
optionsAction?.Invoke(options);
/*
builder.ConfigurePart(options);
builder.ConfigSuppliers(options);
builder.ConfigReceipt(options);
builder.ConfigPurchaseOrder(options);
builder.ConfigPurchaseOrderDetail(options);
builder.ConfigUnplannedReceipt(options);
*/
}
/*
/// <summary>
/// 零件表
/// </summary>
/// <param name="builder"></param>
/// <param name="options"></param>
private static void ConfigurePart(this ModelBuilder builder, V1ScpModelBuilderConfigurationOptions options)
{
builder.Entity<Part>(b =>
{
b.ToTable($"{options.TablePrefix}_Part", options.Schema);
b.ConfigureByConvention();
b.Property(x => x.Code).IsRequired().HasMaxLength(64);
b.Property(x => x.Name).IsRequired().HasMaxLength(64);
b.Property(x => x.Desc1).HasMaxLength(1024);
b.Property(x => x.Desc2).HasMaxLength(1024);
b.Property(x => x.Status).IsRequired().HasMaxLength(64);
b.Property(x => x.IsBuyPart).IsRequired();
b.Property(x => x.IsMakePart).IsRequired();
b.Property(x => x.Uom).IsRequired().HasMaxLength(64);
b.Property(x => x.AbcClass).IsRequired().HasMaxLength(64);
b.Property(x => x.ProductLine).HasMaxLength(64);
b.Property(x => x.Type).HasMaxLength(64);
b.Property(x => x.Catalog).HasMaxLength(64);
b.Property(x => x.Group).HasMaxLength(64);
b.Property(x => x.Version).HasMaxLength(64);
b.Property(x => x.Site).IsRequired().HasMaxLength(64);
b.Property(x => x.Company).IsRequired().HasMaxLength(64);
//b.Property(x => x.Color).HasMaxLength(64);
//b.Property(x => x.Configuration).HasMaxLength(64);
//b.Property(x => x.Project).HasMaxLength(64);
//b.Property(x => x.Eco).HasMaxLength(64);
//b.Property(x => x.StdPackUom).IsRequired().HasMaxLength(64);
//b.Property(x => x.StdPackQty).IsRequired();
//b.Property(x => x.ExtPackUom).HasMaxLength(64);
//b.Property(x => x.ExtPackQty);
});
}
/// <summary>
/// 供应商
/// </summary>
private static void ConfigSuppliers(this ModelBuilder builder, V1ScpModelBuilderConfigurationOptions options)
{
builder.Entity<Supplier>(b =>
{
//Configure table & schema name
b.ToTable(options.TablePrefix + "_Suppliers", options.Schema);
b.ConfigureByConvention();
b.Property(q => q.Code).IsRequired().HasMaxLength(64);
b.Property(q => q.Name).IsRequired().HasMaxLength(64);
b.Property(q => q.Desc).HasMaxLength(1024);
b.Property(q => q.Rank).HasMaxLength(64);
b.Property(q => q.Address).HasMaxLength(1024);
b.Property(q => q.Country).HasMaxLength(64);
b.Property(q => q.City).HasMaxLength(64);
b.Property(q => q.Phone).HasMaxLength(64);
b.Property(q => q.Fax).HasMaxLength(64);
b.Property(q => q.PostId).HasMaxLength(64);
b.Property(q => q.ContactName).HasMaxLength(64);
b.Property(q => q.Currency).HasMaxLength(64);
b.Property(q => q.IsActive).IsRequired();
b.Property(q => q.Company).HasMaxLength(64);
b.Property(q => q.Remark).HasMaxLength(4096);
b.Property(x => x.Bank).HasMaxLength(64);
});
}
/// <summary>
/// 收货单与退货单明细
/// </summary>
private static void ConfigReceipt(this ModelBuilder builder, V1ScpModelBuilderConfigurationOptions options)
{
builder.Entity<Receipt>(b =>
{
//Configure table & schema name
b.ToTable(options.TablePrefix + "_Receipt", options.Schema);
b.ConfigureByConvention();
b.Property(q => q.RcNumber).IsRequired().HasMaxLength(64);
b.Property(q => q.AsnNumber).IsRequired().HasMaxLength(64);
b.Property(q => q.PoNumber).HasMaxLength(64);
b.Property(q => q.SupplierCode).IsRequired().HasMaxLength(64);
b.Property(q => q.RcType).IsRequired().HasMaxLength(64);
b.Property(q => q.Warehouse).HasMaxLength(64);
b.Property(q => q.Dock).HasMaxLength(64);
b.Property(q => q.ReceiveDate).IsRequired();
b.Property(q => q.ReceiveTime);
b.Property(q => q.PoLine).HasMaxLength(64);
b.Property(q => q.PartCode).IsRequired().HasMaxLength(64);
b.Property(q => q.Lot).IsRequired().HasMaxLength(64);
b.Property(q => q.SupplierLot).IsRequired();
b.Property(q => q.Uom).IsRequired().HasMaxLength(64);
b.Property(q => q.ReceiveQty).IsRequired();
b.Property(q => q.SupplierPackConvertRate).IsRequired();
b.Property(q => q.Remark).HasMaxLength(4096);
b.Property(q => q.Site).IsRequired().HasMaxLength(64);
b.Property(q => q.Company).IsRequired().HasMaxLength(64);
});
}
/// <summary>
/// 采购订单主表
/// </summary>
private static void ConfigPurchaseOrder(this ModelBuilder builder, V1ScpModelBuilderConfigurationOptions options)
{
builder.Entity<PurchaseOrder>(b =>
{
//Configure table & schema name
b.ToTable(options.TablePrefix + "_PO", options.Schema);
b.ConfigureByConvention();
b.Property(q => q.PoNumber).HasMaxLength(64);
b.Property(q => q.SupplierCode).IsRequired().HasMaxLength(64);
b.Property(q => q.PoType).IsRequired().HasMaxLength(64);
b.Property(q => q.Status).IsRequired();
b.Property(q => q.IsConsignment).IsRequired();
b.Property(q => q.OrderDate).IsRequired();
b.Property(q => q.DueDate).IsRequired();
b.Property(q => q.Version).IsRequired().HasMaxLength(64);
b.Property(q => q.TaxRate).IsRequired();
b.Property(q => q.Site).IsRequired().HasMaxLength(64);
b.Property(q => q.Company).IsRequired().HasMaxLength(64);
b.Property(q => q.ContactName).HasMaxLength(64);
b.Property(q => q.ContactPhone).HasMaxLength(64);
b.Property(q => q.Remark).HasMaxLength(4096);
b.HasMany(u => u.Details).WithOne().HasForeignKey(rd => rd.Id).OnDelete(DeleteBehavior.NoAction).IsRequired();
});
}
/// <summary>
/// 采购订单明细表
/// </summary>
private static void ConfigPurchaseOrderDetail(this ModelBuilder builder, V1ScpModelBuilderConfigurationOptions options)
{
builder.Entity<PurchaseOrderDetail>(b =>
{
//Configure table & schema name
b.ToTable(options.TablePrefix + "_PODetail", options.Schema);
b.ConfigureByConvention();
b.Property(q => q.PoNumber).IsRequired().HasMaxLength(64);
b.Property(q => q.PoLine).IsRequired().HasMaxLength(64);
b.Property(q => q.PartCode).IsRequired().HasMaxLength(64);
b.Property(q => q.Uom).IsRequired().HasMaxLength(64);
b.Property(q => q.OrderQty).IsRequired();
b.Property(q => q.StdPackQty).IsRequired();
b.Property(q => q.SupplierPackConvertRate);
b.Property(q => q.IsConsignment).IsRequired();
b.Property(q => q.LineStatus).IsRequired();
b.Property(q => q.Remark).HasMaxLength(4096);
});
}
private static void ConfigUnplannedReceipt(this ModelBuilder builder,
V1ScpModelBuilderConfigurationOptions options)
{
builder.Entity<UnplannedReceipt>(b =>
{
//Configure table & schema name
b.ToTable(options.TablePrefix + "_UnplannedReceipt", options.Schema);
b.ConfigureByConvention();
b.Property(q => q.TrNbr).IsRequired();
b.Property(q => q.TrType).IsRequired().HasMaxLength(8);
b.Property(q => q.Order).HasMaxLength(64);
b.Property(q => q.Location).IsRequired().HasMaxLength(8);
b.Property(q => q.EffectiveDate).IsRequired();
b.Property(q => q.SystemDate).IsRequired();
b.Property(q => q.PartCode).IsRequired().HasMaxLength(18);
b.Property(q => q.Lot).IsRequired().HasMaxLength(64);
b.Property(q => q.Uom).IsRequired().HasMaxLength(8);
b.Property(q => q.Qty).IsRequired();
b.Property(q => q.SoJob).HasMaxLength(20);
b.Property(q => q.Remark).HasMaxLength(4096);
b.Property(q => q.Site).IsRequired().HasMaxLength(8);
b.Property(q => q.Company).IsRequired().HasMaxLength(8);
});
*/
}
}

60
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/V1ScpEntityFrameworkCoreModule.cs

@ -0,0 +1,60 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore.DependencyInjection;
using Volo.Abp.Modularity;
using Win_in.Sfs.Scp.v1.Domain;
using Win_in.Sfs.Scp.WebApi;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
[DependsOn(
typeof(V1ScpDomainModule)
)]
public class V1ScpEntityFrameworkCoreModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.AddAbpDbContext<V1ScpDbContext>(options =>
{
/* Remove "includeAllEntities: true" to create
* default repositories only for aggregate roots */
// options.AddDefaultRepositories(includeAllEntities: true);
options.AddRepository<TA_PART, PartRepository>();
options.AddRepository<TA_VENDER, SupplierRepository>();
options.AddRepository<TB_RECEIVE_QAD, ReceiptRepository>();
options.AddRepository<TB_PO, PurchaseOrderRepository>();
options.AddRepository<TB_REJECT, RejectRepository>();
// Configure<AbpEntityOptions>(o =>
// {
// o.Entity<TB_PO>(c =>
// {
// c.DefaultWithDetailsFunc = query => query.Include(po => po.Details);
// });
// });
});
/*
context.Services.AddAbpDbContext<MainDbContext>(options =>
{
options.AddDefaultRepositories(includeAllEntities: true);
});
*/
Configure<AbpDbContextOptions>(options =>
{
/* The main point to change your DBMS.
* See also WebApiMigrationsDbContextFactory for EF Core tooling. */
options.UseSqlServer();
});
}
}
}

18
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/V1ScpModelBuilderConfigurationOptions.cs

@ -0,0 +1,18 @@
using JetBrains.Annotations;
using Volo.Abp.EntityFrameworkCore.Modeling;
namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore
{
public class V1ScpModelBuilderConfigurationOptions : AbpModelBuilderConfigurationOptions
{
public V1ScpModelBuilderConfigurationOptions(
[NotNull] string tablePrefix = "",
[CanBeNull] string schema = null)
: base(
tablePrefix,
schema)
{
}
}
}

11
WebApiService/src/Win_in.Sfs.Scp.v1.EntityFrameworkCore/Win_in.Sfs.Scp.v1.EntityFrameworkCore.csproj

@ -1,7 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Core" Version="4.4.2" />
<PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="4.4.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Win_in.Sfs.Scp.v1.Domain\Win_in.Sfs.Scp.v1.Domain.csproj" />
</ItemGroup>
</Project> </Project>

Loading…
Cancel
Save