diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DNController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DNController.cs new file mode 100644 index 00000000..66af8b40 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DNController.cs @@ -0,0 +1,60 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class BBAC_DNController : GenericController +{ + public BBAC_DNController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] BBAC_DN model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "审核出库单"), Multiple] + public IActionResult? OutboundAuditAsync() + { + return null; + } + + [HttpPost, Display(Name = "生成待开票报表"), Multiple] + public IActionResult? AddBackGroundJob() + { + return null; + } + + [HttpPost, Display(Name = "撤销出库审核"), Multiple] + public IActionResult? RevokeReviewAsync() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DN_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DN_DETAILController.cs new file mode 100644 index 00000000..1ebf6149 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_DN_DETAILController.cs @@ -0,0 +1,35 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class BBAC_DN_DETAILController : GenericController +{ + public BBAC_DN_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Create([FromBody] BBAC_DN_DETAIL model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "取消出库单"), Multiple] + public IActionResult? CancelOutbound() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SAController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SAController.cs new file mode 100644 index 00000000..bc5f2edb --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SAController.cs @@ -0,0 +1,54 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class BBAC_SAController : GenericController +{ + public BBAC_SAController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] BBAC_SA model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "下载")] + public IActionResult? Download()//download + { + return null; + } + + [HttpPost, Display(Name = "生成出库单"), Multiple] + public IActionResult? CreateOutOrdersAsync() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs new file mode 100644 index 00000000..3357372c --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SA_DETAILController.cs @@ -0,0 +1,21 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class BBAC_SA_DETAILController : GenericController +{ + public BBAC_SA_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Create([FromBody] BBAC_SA_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_DETAILController.cs new file mode 100644 index 00000000..9c2d7920 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BBAC_SE_DETAILController.cs @@ -0,0 +1,33 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class BBAC_SE_DETAILController : GenericController +{ + public BBAC_SE_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Create([FromBody] BBAC_SE_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DNController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DNController.cs new file mode 100644 index 00000000..bcd674bf --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DNController.cs @@ -0,0 +1,60 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class BJ_DNController : GenericController +{ + public BJ_DNController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] BJ_DN model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "审核出库单"), Multiple] + public IActionResult? OutboundAuditAsync() + { + return null; + } + + [HttpPost, Display(Name = "生成待开票报表"), Multiple] + public IActionResult? AddBackGroundJob() + { + return null; + } + + [HttpPost, Display(Name = "撤销出库审核"), Multiple] + public IActionResult? RevokeReviewAsync() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DN_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DN_DETAILController.cs new file mode 100644 index 00000000..dfbb1cbe --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_DN_DETAILController.cs @@ -0,0 +1,35 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class BJ_DN_DETAILController : GenericController +{ + public BJ_DN_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [HttpPost, Display(Name = "取消出库单"), Multiple] + public IActionResult? CancelOutbound() + { + return null; + } + + [NonAction] + public override IActionResult Create([FromBody] BJ_DN_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SAController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SAController.cs new file mode 100644 index 00000000..dd092665 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SAController.cs @@ -0,0 +1,54 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class BJ_SAController : GenericController +{ + public BJ_SAController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] BJ_SA model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "下载")] + public IActionResult? Download()//download + { + return null; + } + + [HttpPost, Display(Name = "生成出库单"), Multiple] + public IActionResult? CreateOutOrdersAsync() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SA_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SA_DETAILController.cs new file mode 100644 index 00000000..7491966f --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SA_DETAILController.cs @@ -0,0 +1,21 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class BJ_SA_DETAILController : GenericController +{ + public BJ_SA_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Create([FromBody] BJ_SA_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SE_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SE_DETAILController.cs new file mode 100644 index 00000000..a5e54cfc --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/BJ_SE_DETAILController.cs @@ -0,0 +1,33 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class BJ_SE_DETAILController : GenericController +{ + public BJ_SE_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Create([FromBody] BJ_SE_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DNController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DNController.cs new file mode 100644 index 00000000..a93ccd32 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DNController.cs @@ -0,0 +1,60 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class HBPO_DNController : GenericController +{ + public HBPO_DNController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] HBPO_DN model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "审核出库单"), Multiple] + public IActionResult? OutboundAuditAsync() + { + return null; + } + + [HttpPost, Display(Name = "生成待开票报表"), Multiple] + public IActionResult? AddBackGroundJob() + { + return null; + } + + [HttpPost, Display(Name = "撤销出库审核"), Multiple] + public IActionResult? RevokeReviewAsync() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DN_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DN_DETAILController.cs new file mode 100644 index 00000000..dea3d42d --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_DN_DETAILController.cs @@ -0,0 +1,35 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class HBPO_DN_DETAILController : GenericController +{ + public HBPO_DN_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Create([FromBody] HBPO_DN_DETAIL model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "取消出库单"), Multiple] + public IActionResult? CancelOutbound() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SAController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SAController.cs new file mode 100644 index 00000000..d6c3357a --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SAController.cs @@ -0,0 +1,54 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class HBPO_SAController : GenericController +{ + public HBPO_SAController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Create([FromBody] HBPO_SA model) + { + return base.Create(model); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [HttpPost, Display(Name = "下载")] + public IActionResult? Download()//download + { + return null; + } + + [HttpPost, Display(Name = "生成出库单"), Multiple] + public IActionResult? CreateOutOrdersAsync() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SA_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SA_DETAILController.cs new file mode 100644 index 00000000..4221d09a --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SA_DETAILController.cs @@ -0,0 +1,21 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class HBPO_SA_DETAILController : GenericController +{ + public HBPO_SA_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Create([FromBody] HBPO_SA_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_DETAILController.cs new file mode 100644 index 00000000..e850f715 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/HBPO_SE_DETAILController.cs @@ -0,0 +1,33 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class HBPO_SE_DETAILController : GenericController +{ + public HBPO_SE_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Create([FromBody] HBPO_SE_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/INVOICEController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/INVOICEController.cs new file mode 100644 index 00000000..5d660946 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/INVOICEController.cs @@ -0,0 +1,60 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class INVOICEController : GenericController +{ + public INVOICEController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] INVOICE model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "导入开票文件"), Multiple] + public IActionResult? INVOICE_UploadExcelImport() + { + return null; + } + + [HttpPost, Display(Name = "审核发票信息"), Multiple] + public IActionResult? AddBackGroundJob() + { + return null; + } + + [HttpPost, Display(Name = "同步寄售库至QAD"), Multiple] + public IActionResult? SendWmsQAD() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_DETAILController.cs new file mode 100644 index 00000000..56ebeccf --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/INVOICE_DETAILController.cs @@ -0,0 +1,40 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class INVOICE_DETAILController : GenericController +{ + public INVOICE_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] INVOICE_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/IN_DNController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/IN_DNController.cs new file mode 100644 index 00000000..0566d982 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/IN_DNController.cs @@ -0,0 +1,60 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class IN_DNController : GenericController +{ + public IN_DNController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] IN_DN model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "审核出库单"), Multiple] + public IActionResult? OutboundAuditAsync() + { + return null; + } + + [HttpPost, Display(Name = "生成待开票报表"), Multiple] + public IActionResult? AddBackGroundJob() + { + return null; + } + + [HttpPost, Display(Name = "撤销出库审核"), Multiple] + public IActionResult? RevokeReviewAsync() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/IN_DN_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/IN_DN_DETAILController.cs new file mode 100644 index 00000000..52fecf43 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/IN_DN_DETAILController.cs @@ -0,0 +1,35 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class IN_DN_DETAILController : GenericController +{ + public IN_DN_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Create([FromBody] IN_DN_DETAIL model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "取消出库单"), Multiple] + public IActionResult? CancelOutbound() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/IN_SAController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/IN_SAController.cs new file mode 100644 index 00000000..3ddce4b8 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/IN_SAController.cs @@ -0,0 +1,55 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class IN_SAController : GenericController +{ + public IN_SAController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] IN_SA model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "下载")] + public IActionResult? Download()//download + { + return null; + } + + [HttpPost, Display(Name = "生成出库单"), Multiple] + public IActionResult? CreateOutOrdersAsync() + { + return null; + } + +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/IN_SA_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/IN_SA_DETAILController.cs new file mode 100644 index 00000000..54c6f179 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/IN_SA_DETAILController.cs @@ -0,0 +1,21 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class IN_SA_DETAILController : GenericController +{ + public IN_SA_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Create([FromBody] IN_SA_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/IN_SE_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/IN_SE_DETAILController.cs new file mode 100644 index 00000000..5794ea57 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/IN_SE_DETAILController.cs @@ -0,0 +1,33 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class IN_SE_DETAILController : GenericController +{ + public IN_SE_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Create([FromBody] IN_SE_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DNController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DNController.cs new file mode 100644 index 00000000..c057eb0f --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DNController.cs @@ -0,0 +1,60 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class JIT_DNController : GenericController +{ + public JIT_DNController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] JIT_DN model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "审核出库单"), Multiple] + public IActionResult? OutboundAuditAsync() + { + return null; + } + + [HttpPost, Display(Name = "生成待开票报表"), Multiple] + public IActionResult? AddBackGroundJob() + { + return null; + } + + [HttpPost, Display(Name = "撤销出库审核"), Multiple] + public IActionResult? RevokeReviewAsync() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DN_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DN_DETAILController.cs new file mode 100644 index 00000000..4c137205 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_DN_DETAILController.cs @@ -0,0 +1,35 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class JIT_DN_DETAILController : GenericController +{ + public JIT_DN_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Create([FromBody] JIT_DN_DETAIL model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "取消出库单"), Multiple] + public IActionResult? CancelOutbound() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SAController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SAController.cs new file mode 100644 index 00000000..7f33f14f --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SAController.cs @@ -0,0 +1,54 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Attributes; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class JIT_SAController : GenericController +{ + public JIT_SAController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Export([FromBody] PaginationModel model, bool includeAll = false, bool includeDeleted = false) + { + return base.Export(model, includeAll, includeDeleted); + } + + [NonAction] + public override IActionResult Create([FromBody] JIT_SA model) + { + return base.Create(model); + } + + [HttpPost, Display(Name = "下载")] + public IActionResult? Download()//download + { + return null; + } + + [HttpPost, Display(Name = "生成出库单"), Multiple] + public IActionResult? CreateOutOrdersAsync() + { + return null; + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SA_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SA_DETAILController.cs new file mode 100644 index 00000000..29264102 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SA_DETAILController.cs @@ -0,0 +1,21 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class JIT_SA_DETAILController : GenericController +{ + public JIT_SA_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Create([FromBody] JIT_SA_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SE_DETAILController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SE_DETAILController.cs new file mode 100644 index 00000000..1a19d77c --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/JIT_SE_DETAILController.cs @@ -0,0 +1,33 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class JIT_SE_DETAILController : GenericController +{ + public JIT_SE_DETAILController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Import(IFormFile importexcelfile) + { + return base.Import(importexcelfile); + } + + [NonAction] + public override IActionResult Delete([FromBody] Guid[] guids) + { + return base.Delete(guids); + } + + [NonAction] + public override IActionResult Create([FromBody] JIT_SE_DETAIL model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_BJController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_BJController.cs new file mode 100644 index 00000000..1873de4b --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_BJController.cs @@ -0,0 +1,27 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Application; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class TB_PRICE_BJController : GenericController +{ + public TB_PRICE_BJController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Create([FromBody] TB_PRICE_BJ model) + { + return base.Create(model); + } + + //[NonAction] + //public override IActionResult Index([FromBody] PaginationModel model) + //{ + // return base.Index(model); + //} +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs new file mode 100644 index 00000000..08347484 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/TB_PRICE_LISTController.cs @@ -0,0 +1,22 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class TB_PRICE_LISTController : GenericController +{ + public TB_PRICE_LISTController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Create([FromBody] TB_PRICE_LIST model) + { + return base.Create(model); + } + +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/TB_ReAssemblyRelationshipController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/TB_ReAssemblyRelationshipController.cs new file mode 100644 index 00000000..e5551c12 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/TB_ReAssemblyRelationshipController.cs @@ -0,0 +1,20 @@ +using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class TB_ReAssemblyRelationshipController : GenericController +{ + public TB_ReAssemblyRelationshipController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + [NonAction] + public override IActionResult Create([FromBody] TB_ReAssemblyRelationship model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/TB_RePartsRelationshipController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/TB_RePartsRelationshipController.cs new file mode 100644 index 00000000..52ee6a6a --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Controllers/TB_RePartsRelationshipController.cs @@ -0,0 +1,20 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using WTA.Application.Identity.Entities.SystemManagement; +using WTA.Shared.Controllers; +using WTA.Shared.Data; + +namespace WTA.Application.Identity.Controllers; + +public class TB_RePartsRelationshipController : GenericController +{ + public TB_RePartsRelationshipController(ILogger logger, IRepository repository) : base(logger, repository) + { + } + + [NonAction] + public override IActionResult Create([FromBody] TB_RePartsRelationship model) + { + return base.Create(model); + } +} diff --git a/docs/demo/src/WTA.Application/Identity/Controllers/UserController.cs b/docs/demo/src/WTA.Application/Identity/Controllers/UserController.cs index 3e771c42..cea9b656 100644 --- a/docs/demo/src/WTA.Application/Identity/Controllers/UserController.cs +++ b/docs/demo/src/WTA.Application/Identity/Controllers/UserController.cs @@ -20,7 +20,7 @@ public class UserController : GenericController, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration, +IEntityTypeConfiguration +{ + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } + public void Configure(EntityTypeBuilder builder) + { } +} diff --git a/docs/demo/src/WTA.Application/Identity/Data/IdentityDbSeed.cs b/docs/demo/src/WTA.Application/Identity/Data/IdentityDbSeed.cs index 484ffe8a..8452822c 100644 --- a/docs/demo/src/WTA.Application/Identity/Data/IdentityDbSeed.cs +++ b/docs/demo/src/WTA.Application/Identity/Data/IdentityDbSeed.cs @@ -40,6 +40,8 @@ public class IdentityDbSeed : IDbSeed // 数据字典初始化 InitDictionaries(context); + //测试数据初始化 + InitTestDate(context); //租户初始化 var tenant = new Tenant { @@ -117,6 +119,15 @@ public class IdentityDbSeed : IDbSeed context.Set().Add(superUser); } + private void InitTestDate(IdentityDbContext context) + { + context.Set().Add(new HBPO_SA { Version = "测试数据", BillNum = "测试数据", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); + context.Set().Add(new BBAC_SA { Version = "测试数据", BillNum = "测试数据", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); + context.Set().Add(new JIT_SA { Version = "测试数据", BillNum = "测试数据", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); + context.Set().Add(new BJ_SA { Version = "测试数据", BillNum = "测试数据", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); + context.Set().Add(new IN_SA { Version = "测试数据", BillNum = "测试数据", DNBillNum = "测试数据", State = "测试数据" }); + } + private void InitDictionaries(DbContext context) { } diff --git a/docs/demo/src/WTA.Application/Identity/Entities/BaseData/Class1.cs b/docs/demo/src/WTA.Application/Identity/Entities/BaseData/Class1.cs deleted file mode 100644 index 023ac67a..00000000 --- a/docs/demo/src/WTA.Application/Identity/Entities/BaseData/Class1.cs +++ /dev/null @@ -1,642 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Metadata.Builders; -using WTA.Shared.Attributes; -using WTA.Shared.Data; -using WTA.Shared.Domain; -using WTA.Shared.Module; - -namespace WTA.Application.Identity.Entities.BaseData; - -[Order(7)] -[SystemManagement] -[Display(Name = "物料主数据")] -public class Class1 : BaseEntity -{ -} - -[Order(8)] -[SystemManagement] -[Display(Name = "客户零件关系")] -public class Class2 : BaseEntity -{ -} - -[Order(9)] -[SystemManagement] -[Display(Name = "客户端替换件关系")] -public class Class3 : BaseEntity -{ -} - -[Order(10)] -[SystemManagement] -[Display(Name = "寄售库出库总成替换关系")] -public class Class4 : BaseEntity -{ -} - -[Order(11)] -[SystemManagement] -[Display(Name = "期间设置")] -public class Class5 : BaseEntity -{ -} - -[Order(12)] -[SystemManagement] -[Display(Name = "销售价格单")] -public class Class6 : BaseEntity -{ -} - -[Order(2)] -[Display(Name = "EDI业务")] -public class EdiAttribute : GroupAttribute -{ -} - -[Order(1)] -[Edi] -[Display(Name = "EDI和HBPO核对")] -public class Class7 : BaseEntity -{ -} - -[Order(2)] -[Edi] -[Display(Name = "EDI和BBAC核对")] -public class Class8 : BaseEntity -{ -} - -[Order(2)] -[Display(Name = "JIS业务")] -public class JISModule : BaseModule -{ -} - -[Order(1)] -[Module] -[Display(Name = "数据输入")] -public class JISDataInputAttribute : GroupAttribute -{ -} - -[Order(2)] -[Module] -[Display(Name = "数据输出")] -public class JISDataOutputAttribute : GroupAttribute -{ -} - -[Order(1)] -[JISDataInput] -[Display(Name = "HBPO结算导入")] -public class Class9 : BaseEntity -{ -} - -[Order(2)] -[JISDataInput] -[Display(Name = "BBAC结算导入")] -public class Class10 : BaseEntity -{ -} - -[Order(3)] -[JISDataInput] -[Display(Name = "HBPO发运数据")] -public class Class11 : BaseEntity -{ -} - -[Order(4)] -[JISDataInput] -[Display(Name = "BBAC发运数据")] -public class Class12 : BaseEntity -{ -} - -[Order(1)] -[JISDataOutput] -[Display(Name = "HBPO结算核对明细输出")] -public class Class13 : BaseEntity -{ -} - -[Order(2)] -[JISDataOutput] -[Display(Name = "BBAC结算核对明细输出")] -public class Class14 : BaseEntity -{ -} - -[Order(3)] -[JISDataOutput] -[Display(Name = "HBPO无法出库明细与汇总输出")] -public class Class15 : BaseEntity -{ -} - -[Order(4)] -[JISDataOutput] -[Display(Name = "BBAC无法出库明细与汇总输出")] -public class Class16 : BaseEntity -{ -} - -[Order(5)] -[JISDataOutput] -[Display(Name = "HBPO结算发货明细与汇总")] -public class Class17 : BaseEntity -{ -} - -[Order(6)] -[JISDataOutput] -[Display(Name = "BBAC结算发货明细与汇总")] -public class Class18 : BaseEntity -{ -} - -///// - -[Order(3)] -[Display(Name = "JIT业务")] -public class JITModule : BaseModule -{ -} - -[Order(1)] -[Module] -[Display(Name = "数据输入")] -public class JITDataInputAttribute : GroupAttribute -{ -} - -[Order(2)] -[Module] -[Display(Name = "数据输出")] -public class JITDataOutputAttribute : GroupAttribute -{ -} - -[Order(1)] -[JITDataInput] -[Display(Name = "JIT件结算导入")] -public class Class19 : BaseEntity -{ -} - -[Order(2)] -[JITDataInput] -[Display(Name = "JIT发运数据查询")] -public class Class20 : BaseEntity -{ -} - -[Order(1)] -[JITDataOutput] -[Display(Name = "JIT件结算核对明细输出")] -public class Class21 : BaseEntity -{ -} - -[Order(2)] -[JITDataOutput] -[Display(Name = "JIT件寄售库不能出库明细与汇总")] -public class Class22 : BaseEntity -{ -} - -[Order(3)] -[JITDataOutput] -[Display(Name = "JIT件结算发货明细与汇总")] -public class Class23 : BaseEntity -{ -} - -///// - -[Order(4)] -[Display(Name = "备件业务")] -public class BeiJianModule : BaseModule -{ -} - -[Order(1)] -[Module] -[Display(Name = "数据输入")] -public class BeiJianDataInputAttribute : GroupAttribute -{ -} - -[Order(2)] -[Module] -[Display(Name = "数据输出")] -public class BeiJianDataOutputAttribute : GroupAttribute -{ -} - -[Order(1)] -[BeiJianDataInput] -[Display(Name = "备件结算导入")] -public class Class24 : BaseEntity -{ -} - -[Order(2)] -[BeiJianDataInput] -[Display(Name = "备件发运数据查询")] -public class Class25 : BaseEntity -{ -} - -[Order(1)] -[BeiJianDataOutput] -[Display(Name = "备件结算核对明细输出")] -public class Class26 : BaseEntity -{ -} - -[Order(2)] -[BeiJianDataOutput] -[Display(Name = "备件寄售库不能出库明细与汇总输出")] -public class Class27 : BaseEntity -{ -} - -[Order(3)] -[BeiJianDataOutput] -[Display(Name = "备件有结算有发货明细与汇总输出")] -public class Class28 : BaseEntity -{ -} - -[Order(4)] -[BeiJianDataOutput] -[Display(Name = "备件有结算无发货明细与汇总输出")] -public class Class29 : BaseEntity -{ -} - -///// - -[Order(5)] -[Display(Name = "备件业务")] -public class MaiDanJianModule : BaseModule -{ -} - -[Order(1)] -[Module] -[Display(Name = "数据输入")] -public class MaiDanJianDataInputAttribute : GroupAttribute -{ -} - -[Order(2)] -[Module] -[Display(Name = "数据输出")] -public class MaiDanJianDataOutputAttribute : GroupAttribute -{ -} - -[Order(1)] -[MaiDanJianDataInput] -[Display(Name = "印度件结算导入")] -public class Class30 : BaseEntity -{ -} - -[Order(2)] -[MaiDanJianDataInput] -[Display(Name = "印度件发运数据查询")] -public class Class31 : BaseEntity -{ -} - -[Order(1)] -[MaiDanJianDataOutput] -[Display(Name = "印度件结算核对明细输出")] -public class Class32 : BaseEntity -{ -} - -[Order(2)] -[MaiDanJianDataOutput] -[Display(Name = "印度件寄售库不能出库明细与汇总输出")] -public class Class33 : BaseEntity -{ -} - -[Order(3)] -[MaiDanJianDataOutput] -[Display(Name = "印度件有结算有发货明细与汇总输出")] -public class Class34 : BaseEntity -{ -} - -[Order(4)] -[MaiDanJianDataOutput] -[Display(Name = "印度件有结算无发货明细与汇总输出")] -public class Class35 : BaseEntity -{ -} - -////// -[Order(6)] -[Display(Name = "出库单")] -public class ChuKuDanGroup : GroupAttribute -{ -} - -[Order(1)] -[ChuKuDanGroup] -[Display(Name = "HBPO-JIS出库单")] -public class Class36 : BaseEntity -{ -} - -[Order(2)] -[ChuKuDanGroup] -[Display(Name = "BBAC-JIS出库单")] -public class Class37 : BaseEntity -{ -} - -[Order(3)] -[ChuKuDanGroup] -[Display(Name = "JIT件件出库单")] -public class Class38 : BaseEntity -{ -} - -[Order(4)] -[ChuKuDanGroup] -[Display(Name = "备件出库单")] -public class Class39 : BaseEntity -{ -} - -[Order(5)] -[ChuKuDanGroup] -[Display(Name = "印度件出库单")] -public class Class40 : BaseEntity -{ -} - -[Order(6)] -[ChuKuDanGroup] -[Display(Name = "不能出库记录出库业务")] -public class Class41 : BaseEntity -{ -} - -////// -[Order(7)] -[Display(Name = "商务审核")] -public class ShangWuShenHeGroup : GroupAttribute -{ -} - -[Order(1)] -[ShangWuShenHeGroup] -[Display(Name = "HBPO-JIS 商务待开票")] -public class Class42 : BaseEntity -{ -} - -[Order(2)] -[ShangWuShenHeGroup] -[Display(Name = "BBAC-JIS商务待开票")] -public class Class43 : BaseEntity -{ -} - -[Order(3)] -[ShangWuShenHeGroup] -[Display(Name = "JIT件商务发票待开票")] -public class Class44 : BaseEntity -{ -} - -[Order(4)] -[ShangWuShenHeGroup] -[Display(Name = "备件商务发票待开票")] -public class Class45 : BaseEntity -{ -} - -[Order(5)] -[ShangWuShenHeGroup] -[Display(Name = "印度件商务发票待开票")] -public class Class46 : BaseEntity -{ -} - -////// -[Order(7)] -[Display(Name = "财务审核")] -public class CaiWuShenHeGroup : GroupAttribute -{ -} - -[Order(1)] -[CaiWuShenHeGroup] -[Display(Name = " BBAC-JIS财务管理审核")] -public class Class47 : BaseEntity -{ -} - -public class BaseDataDbConfig : IDbConfig, - IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration, -IEntityTypeConfiguration -{ - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } - - public void Configure(EntityTypeBuilder builder) - { } -} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_DN.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_DN.cs new file mode 100644 index 00000000..3cfee9e8 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_DN.cs @@ -0,0 +1,80 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[ChuKuDanGroup] +[Display(Name = "BBAC-JIS出库单")] +public class BBAC_DN : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + /// + /// 如 BA2023060212 + /// + [Display(Name = "出库单号")] + [OneToMany] + public string DNBillNum { get; set; } = null!; + /// + /// 定时统计记录数量 + /// + [Display(Name = "不能出库记录、已扣减统计")] + public string StockCount { get; set; } = null!; +} +[Display(Name = "BBAC出库单明细")] +[ChuKuDanGroup] +public class BBAC_DN_DETAIL : BaseEntity +{ + + /// + /// 对应字段(Material+ExternalCalNumber) + /// + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + /// + /// 期间 + /// + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 结算单号 + /// + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + /// + /// 对应字段Material + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 对应字段ExternalCalNumber + /// + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + /// + /// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票信息分组 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + [Display(Name = "单价")] + public decimal Price { get; set; } + + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SA.cs new file mode 100644 index 00000000..6bdfba68 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SA.cs @@ -0,0 +1,111 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[JISDataInput] +[Display(Name = "BBAC结算导入")] +public class BBAC_SA : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单据")] + [OneToMany] + public string BillNum { get; set; } = null!; + + [Display(Name = "出库单号")] + public string DNBillNum { get; set; } = null!; + + /// + /// 1、新建 2、已有出库3、已有扣减寄售库 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + + /// + /// 明细记录行数 + /// + [Display(Name = "明细记录行数")] + public string RecordCount { get; set; } = null!; + +} + +[Display(Name = "BBAC结算导入明细")] +[JISDataInput] +public class BBAC_SA_DETAIL : BaseEntity +{ + /// + /// 对应字段(Material+ExternalCalNumber) + /// + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + /// + /// 期间 + /// + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 结算单号 + /// + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + /// + /// 对应字段Material + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 对应字段ExternalCalNumber + /// + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + /// + /// 选择工厂导入 + /// + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 对应字段Quantity + /// + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + /// + /// 匹配价格表对应区间对应地点带出 + /// + [Display(Name = "单价")] + public decimal Price { get; set; } + + /// + /// ExternalCallNumber包含(R0)为买单件 1为JIS 2.为买单件 + /// + [Display(Name = "业务类别")] + public string Category { get; set; } = null!; + + /// + /// 对应字段MovementType,996正常,997为退货 + /// + [Display(Name = "是否退货")] + public string IsReturn { get; set; } = null!; + + /// + /// 对应字段PostingDate + /// + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + /// + /// 对应字段Reference + /// + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_DETAIL.cs new file mode 100644 index 00000000..1dcb437f --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BBAC_SE_DETAIL.cs @@ -0,0 +1,47 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(4)] +[JISDataInput] +[Display(Name = "BBAC发运数据")] +public class BBAC_SE_DETAIL : BaseEntity +{ + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "日顺序号")] + public string SeqNumber { get; set; } = null!; + + [Display(Name = "小总成号")] + public string AssemblyCode { get; set; } = null!; + + [Display(Name = "注塑码")] + public string InjectionCode { get; set; } = null!; + + [Display(Name = "发货数量")] + public decimal Qty { get; set; } + + [Display(Name = "EDI数量")] + public decimal EDIQty { get; set; } + + [Display(Name = "订单时间")] + public DateTime BeginDate { get; set; } + + [Display(Name = "发货时间")] + public DateTime ShippingDate { get; set; } + + [Display(Name = "Wms发货单号")] + public string WmsBillNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_DN.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_DN.cs new file mode 100644 index 00000000..42fb5191 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_DN.cs @@ -0,0 +1,71 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(4)] +[ChuKuDanGroup] +[Display(Name = "备件出库单")] +public class BJ_DN : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 如 J2023060212 + /// + [Display(Name = "出库单号")] + [OneToMany] + public string DNBillNum { get; set; } = null!; + + /// + /// 定时统计记录数量 + /// + [Display(Name = "各种状态统计显示")] + public string StockCount { get; set; } = null!; + +} +[Display(Name = "备件出库单明细")] +[ChuKuDanGroup] +public class BJ_DN_DETAIL : BaseEntity +{ + [Display(Name = "LU+交付识别号")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "出库单号")] + public string DNBillNum { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string INVGroupNum { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "交付识别号")] + public string PN { get; set; } = null!; + + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票分组 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + [Display(Name = "单价")] + public decimal Price { get; set; } + + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SA.cs new file mode 100644 index 00000000..9f08a01e --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SA.cs @@ -0,0 +1,97 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[BeiJianDataInput] +[Display(Name = "备件结算导入")] +public class BJ_SA : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单据号")] + [OneToMany] + public string BillNum { get; set; } = null!; + + [Display(Name = "出库单号")] + public string DNBillNum { get; set; } = null!; + + /// + /// 1、新建 2、已有出库3、已有扣减寄售库 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + + /// + /// 明细记录行数 + /// + [Display(Name = "明细记录行数")] + public string RecordCount { get; set; } = null!; +} +[Display(Name = "备件结算导入明细")] +[BeiJianDataInput] +public class BJ_SA_DETAIL : BaseEntity +{ + /// + /// 对应字段(零件号+交付识别号) + /// + [Display(Name = "LU+交付识别号")] + public string KeyCode { get; set; } = null!; + + /// + /// 期间号 + /// + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 结算单号 + /// + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + /// + /// 对应字段【零件号】 + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 对应字段【交付识别号】 + /// + [Display(Name = "交付识别号")] + public string PN { get; set; } = null!; + + /// + /// 无 + /// + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 对应字段【数量】 + /// + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + /// + /// 从备件价格单里取 + /// + [Display(Name = "单价")] + public decimal Price { get; set; } + + /// + /// 无 + /// + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + /// + /// 对应字段【凭证号】 + /// + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs new file mode 100644 index 00000000..b3283866 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BJ_SE_DETAIL.cs @@ -0,0 +1,30 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[BeiJianDataInput] +[Display(Name = "备件发运数据查询")] +public class BJ_SE_DETAIL : BaseEntity +{ + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + [Display(Name = ("ASN单号"))] + public string PN { get; set; } = null!; + [Display(Name = ("发货数量"))] + public decimal Qty { get; set; } + [Display(Name = ("订单时间"))] + public DateTime BeginDate { get; set; } + [Display(Name = ("发货时间"))] + public DateTime ShppingDate { get; set; } + [Display(Name = ("Wms发货单号"))] + public string WmsBillNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataInputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataInputAttribute.cs new file mode 100644 index 00000000..4c39b87a --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataInputAttribute.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[Module] +[Display(Name = "数据输入")] +public class BeiJianDataInputAttribute : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataOutputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataOutputAttribute.cs new file mode 100644 index 00000000..65efc9d4 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianDataOutputAttribute.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[Module] +[Display(Name = "数据输出")] +public class BeiJianDataOutputAttribute : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianModule.cs new file mode 100644 index 00000000..8b78114f --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/BeiJianModule.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Module; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(4)] +[Display(Name = "备件业务")] +public class BeiJianModule : BaseModule +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/CaiWuShenHeGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/CaiWuShenHeGroup.cs new file mode 100644 index 00000000..814357d9 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/CaiWuShenHeGroup.cs @@ -0,0 +1,10 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(7)] +[Display(Name = "财务审核")] +public class CaiWuShenHeGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ChuKuDanGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ChuKuDanGroup.cs new file mode 100644 index 00000000..ca2ecb30 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ChuKuDanGroup.cs @@ -0,0 +1,10 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(6)] +[Display(Name = "出库单")] +public class ChuKuDanGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class1.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class1.cs new file mode 100644 index 00000000..dfe3431e --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class1.cs @@ -0,0 +1,447 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(7)] +[SystemManagement] +[Display(Name = "物料主数据")] +public class Class1 : BaseEntity +{ +} + +//[Order(8)] +//[SystemManagement] +//[Display(Name = "客户零件关系")] +//public class Class2 : BaseEntity +//{ +//} + +//[Order(9)] +//[SystemManagement] +//[Display(Name = "客户端替换件关系")] +//public class Class3 : BaseEntity +//{ +//} + +//[Order(10)] +//[SystemManagement] +//[Display(Name = "寄售库出库总成替换关系")] +//public class Class4 : BaseEntity +//{ +//} + +//[Order(11)] +//[SystemManagement] +//[Display(Name = "期间设置")] +//public class Class5 : BaseEntity +//{ +//} + +//[Order(12)] +//[SystemManagement] +//[Display(Name = "销售价格单")] +//public class TB_PRICE_LIST : BaseEntity +//{ +//} + +//[Order(2)] +//[Display(Name = "EDI业务")] +//public class EdiAttribute : GroupAttribute +//{ +//} + +//[Order(1)] +//[Edi] +//[Display(Name = "EDI和HBPO核对")] +//public class Class7 : BaseEntity +//{ +//} + +//[Order(2)] +//[Edi] +//[Display(Name = "EDI和BBAC核对")] +//public class Class8 : BaseEntity +//{ +//} + +//[Order(2)] +//[Display(Name = "JIS业务")] +//public class JISModule : BaseModule +//{ +//} + +//[Order(1)] +//[Module] +//[Display(Name = "数据输入")] +//public class JISDataInputAttribute : GroupAttribute +//{ +//} + +//[Order(2)] +//[Module] +//[Display(Name = "数据输出")] +//public class JISDataOutputAttribute : GroupAttribute +//{ +//} + +//[Order(1)] +//[JISDataInput] +//[Display(Name = "HBPO结算导入")] +//public class Class9 : BaseEntity +//{ +//} + +//[Order(2)] +//[JISDataInput] +//[Display(Name = "BBAC结算导入")] +//public class Class10 : BaseEntity +//{ +//} + +//[Order(3)] +//[JISDataInput] +//[Display(Name = "HBPO发运数据")] +//public class Class11 : BaseEntity +//{ +//} + +//[Order(4)] +//[JISDataInput] +//[Display(Name = "BBAC发运数据")] +//public class Class12 : BaseEntity +//{ +//} + +//[Order(1)] +//[JISDataOutput] +//[Display(Name = "HBPO结算核对明细输出")] +//public class Class13 : BaseEntity +//{ +//} + +//[Order(2)] +//[JISDataOutput] +//[Display(Name = "BBAC结算核对明细输出")] +//public class Class14 : BaseEntity +//{ +//} + +//[Order(3)] +//[JISDataOutput] +//[Display(Name = "HBPO无法出库明细与汇总输出")] +//public class Class15 : BaseEntity +//{ +//} + +//[Order(4)] +//[JISDataOutput] +//[Display(Name = "BBAC无法出库明细与汇总输出")] +//public class Class16 : BaseEntity +//{ +//} + +//[Order(5)] +//[JISDataOutput] +//[Display(Name = "HBPO结算发货明细与汇总")] +//public class Class17 : BaseEntity +//{ +//} + +//[Order(6)] +//[JISDataOutput] +//[Display(Name = "BBAC结算发货明细与汇总")] +//public class Class18 : BaseEntity +//{ +//} + +///// + +//[Order(3)] +//[Display(Name = "JIT业务")] +//public class JITModule : BaseModule +//{ +//} + +//[Order(1)] +//[Module] +//[Display(Name = "数据输入")] +//public class JITDataInputAttribute : GroupAttribute +//{ +//} + +//[Order(2)] +//[Module] +//[Display(Name = "数据输出")] +//public class JITDataOutputAttribute : GroupAttribute +//{ +//} + +//[Order(1)] +//[JITDataInput] +//[Display(Name = "JIT件结算导入")] +//public class Class19 : BaseEntity +//{ +//} +//IResource +//[Order(2)] +//[JITDataInput] +//[Display(Name = "JIT发运数据查询")] +//public class Class20 : BaseEntity +//{ +//} + +//[Order(1)] +//[JITDataOutput] +//[Display(Name = "JIT件结算核对明细输出")] +//public class Class21 : BaseEntity +//{ +//} + +//[Order(2)] +//[JITDataOutput] +//[Display(Name = "JIT件寄售库不能出库明细与汇总")] +//public class Class22 : BaseEntity +//{ +//} + +//[Order(3)] +//[JITDataOutput] +//[Display(Name = "JIT件结算发货明细与汇总")] +//public class Class23 : BaseEntity +//{ +//} + +///// + +//[Order(4)] +//[Display(Name = "备件业务")] +//public class BeiJianModule : BaseModule +//{ +//} + +//[Order(1)] +//[Module] +//[Display(Name = "数据输入")] +//public class BeiJianDataInputAttribute : GroupAttribute +//{ +//} + +//[Order(2)] +//[Module] +//[Display(Name = "数据输出")] +//public class BeiJianDataOutputAttribute : GroupAttribute +//{ +//} + +//[Order(1)] +//[BeiJianDataInput] +//[Display(Name = "备件结算导入")] +//public class Class24 : BaseEntity +//{ +//} + +//[Order(2)] +//[BeiJianDataInput] +//[Display(Name = "备件发运数据查询")] +//public class Class25 : BaseEntity +//{ +//} + +//[Order(1)] +//[BeiJianDataOutput] +//[Display(Name = "备件结算核对明细输出")] +//public class Class26 : BaseEntity +//{ +//} + +//[Order(2)] +//[BeiJianDataOutput] +//[Display(Name = "备件寄售库不能出库明细与汇总输出")] +//public class Class27 : BaseEntity +//{ +//} + +//[Order(3)] +//[BeiJianDataOutput] +//[Display(Name = "备件有结算有发货明细与汇总输出")] +//public class Class28 : BaseEntity +//{ +//} + +//[Order(4)] +//[BeiJianDataOutput] +//[Display(Name = "备件有结算无发货明细与汇总输出")] +//public class Class29 : BaseEntity +//{ +//} + +///// + +//[Order(5)] +//[Display(Name = "备件业务")] +//public class MaiDanJianModule : BaseModule +//{ +//} + +//[Order(1)] +//[Module] +//[Display(Name = "数据输入")] +//public class MaiDanJianDataInputAttribute : GroupAttribute +//{ +//} + +//[Order(2)] +//[Module] +//[Display(Name = "数据输出")] +//public class MaiDanJianDataOutputAttribute : GroupAttribute +//{ +//} + +//[Order(1)] +//[MaiDanJianDataInput] +//[Display(Name = "印度件结算导入")] +//public class Class30 : BaseEntity +//{ +//} + +//[Order(2)] +//[MaiDanJianDataInput] +//[Display(Name = "印度件发运数据查询")] +//public class Class31 : BaseEntity +//{ +//} + +//[Order(1)] +//[MaiDanJianDataOutput] +//[Display(Name = "印度件结算核对明细输出")] +//public class Class32 : BaseEntity +//{ +//} + +//[Order(2)] +//[MaiDanJianDataOutput] +//[Display(Name = "印度件寄售库不能出库明细与汇总输出")] +//public class Class33 : BaseEntity +//{ +//} + +//[Order(3)] +//[MaiDanJianDataOutput] +//[Display(Name = "印度件有结算有发货明细与汇总输出")] +//public class Class34 : BaseEntity +//{ +//} + +//[Order(4)] +//[MaiDanJianDataOutput] +//[Display(Name = "印度件有结算无发货明细与汇总输出")] +//public class Class35 : BaseEntity +//{ +//} + +////// +//[Order(6)] +//[Display(Name = "出库单")] +//public class ChuKuDanGroup : GroupAttribute +//{ +//} + +//[Order(1)] +//[ChuKuDanGroup] +//[Display(Name = "HBPO-JIS出库单")] +//public class Class36 : BaseEntity +//{ +//} + +//[Order(2)] +//[ChuKuDanGroup] +//[Display(Name = "BBAC-JIS出库单")] +//public class Class37 : BaseEntity +//{ +//} + +//[Order(3)] +//[ChuKuDanGroup] +//[Display(Name = "JIT件件出库单")] +//public class Class38 : BaseEntity +//{ +//} + +//[Order(4)] +//[ChuKuDanGroup] +//[Display(Name = "备件出库单")] +//public class Class39 : BaseEntity +//{ +//} + +//[Order(5)] +//[ChuKuDanGroup] +//[Display(Name = "印度件出库单")] +//public class Class40 : BaseEntity +//{ +//} + +//[Order(6)] +//[ChuKuDanGroup] +//[Display(Name = "不能出库记录出库业务")] +//public class Class41 : BaseEntity +//{ +//} + +////// +//[Order(7)] +//[Display(Name = "商务审核")] +//public class ShangWuShenHeGroup : GroupAttribute +//{ +//} + +//[Order(1)] +//[ShangWuShenHeGroup] +//[Display(Name = "HBPO-JIS 商务待开票")] +//public class Class42 : BaseEntity +//{ +//} + +//[Order(2)] +//[ShangWuShenHeGroup] +//[Display(Name = "BBAC-JIS商务待开票")] +//public class Class43 : BaseEntity +//{ +//} + +//[Order(3)] +//[ShangWuShenHeGroup] +//[Display(Name = "JIT件商务发票待开票")] +//public class Class44 : BaseEntity +//{ +//} + +//[Order(4)] +//[ShangWuShenHeGroup] +//[Display(Name = "备件商务发票待开票")] +//public class Class45 : BaseEntity +//{ +//} + +//[Order(5)] +//[ShangWuShenHeGroup] +//[Display(Name = "印度件商务发票待开票")] +//public class Class46 : BaseEntity +//{ +//} + +////// +//[Order(7)] +//[Display(Name = "财务审核")] +//public class CaiWuShenHeGroup : GroupAttribute +//{ +//} + +//[Order(1)] +//[CaiWuShenHeGroup] +//[Display(Name = " BBAC-JIS财务管理审核")] +//public class Class47 : BaseEntity +//{ +//} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class13.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class13.cs new file mode 100644 index 00000000..f26a66db --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class13.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[JISDataOutput] +[Display(Name = "HBPO结算核对明细输出")] +public class Class13 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class14.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class14.cs new file mode 100644 index 00000000..ebb7ad9e --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class14.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[JISDataOutput] +[Display(Name = "BBAC结算核对明细输出")] +public class Class14 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class15.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class15.cs new file mode 100644 index 00000000..ca2676ed --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class15.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(3)] +[JISDataOutput] +[Display(Name = "HBPO无法出库明细与汇总输出")] +public class Class15 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class16.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class16.cs new file mode 100644 index 00000000..0ecbdd03 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class16.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(4)] +[JISDataOutput] +[Display(Name = "BBAC无法出库明细与汇总输出")] +public class Class16 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class17.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class17.cs new file mode 100644 index 00000000..b0a1927b --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class17.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(5)] +[JISDataOutput] +[Display(Name = "HBPO结算发货明细与汇总")] +public class Class17 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class18.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class18.cs new file mode 100644 index 00000000..c36c1625 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class18.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(6)] +[JISDataOutput] +[Display(Name = "BBAC结算发货明细与汇总")] +public class Class18 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class2.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class2.cs new file mode 100644 index 00000000..fd37a61d --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class2.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(8)] +[SystemManagement] +[Display(Name = "客户零件关系")] +public class Class2 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class21.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class21.cs new file mode 100644 index 00000000..fccff5b5 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class21.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[JITDataOutput] +[Display(Name = "JIT件结算核对明细输出")] +public class Class21 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class22.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class22.cs new file mode 100644 index 00000000..11969c26 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class22.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[JITDataOutput] +[Display(Name = "JIT件寄售库不能出库明细与汇总")] +public class Class22 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class23.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class23.cs new file mode 100644 index 00000000..40a01eb0 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class23.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(3)] +[JITDataOutput] +[Display(Name = "JIT件结算发货明细与汇总")] +public class Class23 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class26.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class26.cs new file mode 100644 index 00000000..e778b928 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class26.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[BeiJianDataOutput] +[Display(Name = "备件结算核对明细输出")] +public class Class26 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class27.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class27.cs new file mode 100644 index 00000000..d5ee78af --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class27.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[BeiJianDataOutput] +[Display(Name = "备件寄售库不能出库明细与汇总输出")] +public class Class27 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class28.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class28.cs new file mode 100644 index 00000000..33c9b503 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class28.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(3)] +[BeiJianDataOutput] +[Display(Name = "备件有结算有发货明细与汇总输出")] +public class Class28 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class29.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class29.cs new file mode 100644 index 00000000..010c15fa --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class29.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(4)] +[BeiJianDataOutput] +[Display(Name = "备件有结算无发货明细与汇总输出")] +public class Class29 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class32.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class32.cs new file mode 100644 index 00000000..e8a18399 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class32.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[MaiDanJianDataOutput] +[Display(Name = "印度件结算核对明细输出")] +public class Class32 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class33.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class33.cs new file mode 100644 index 00000000..f83a3241 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class33.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[MaiDanJianDataOutput] +[Display(Name = "印度件寄售库不能出库明细与汇总输出")] +public class Class33 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class34.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class34.cs new file mode 100644 index 00000000..2efe4c5b --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class34.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(3)] +[MaiDanJianDataOutput] +[Display(Name = "印度件有结算有发货明细与汇总输出")] +public class Class34 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class35.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class35.cs new file mode 100644 index 00000000..d0d3f7f5 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class35.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(4)] +[MaiDanJianDataOutput] +[Display(Name = "印度件有结算无发货明细与汇总输出")] +public class Class35 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class41.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class41.cs new file mode 100644 index 00000000..6d9b9bc8 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class41.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(6)] +[ChuKuDanGroup] +[Display(Name = "不能出库记录出库业务")] +public class Class41 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class43.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class43.cs new file mode 100644 index 00000000..b137a329 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class43.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[ShangWuShenHeGroup] +[Display(Name = "BBAC-JIS商务待开票")] +public class Class43 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class44.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class44.cs new file mode 100644 index 00000000..88c6c1ac --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class44.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(3)] +[ShangWuShenHeGroup] +[Display(Name = "JIT件商务发票待开票")] +public class Class44 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class45.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class45.cs new file mode 100644 index 00000000..b39edcba --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class45.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(4)] +[ShangWuShenHeGroup] +[Display(Name = "备件商务发票待开票")] +public class Class45 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class46.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class46.cs new file mode 100644 index 00000000..37b32c51 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class46.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(5)] +[ShangWuShenHeGroup] +[Display(Name = "印度件商务发票待开票")] +public class Class46 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class47.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class47.cs new file mode 100644 index 00000000..785c3dac --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class47.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[CaiWuShenHeGroup] +[Display(Name = " BBAC-JIS财务管理审核")] +public class Class47 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class5.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class5.cs new file mode 100644 index 00000000..1d3ab1d5 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class5.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(11)] +[SystemManagement] +[Display(Name = "期间设置")] +public class Class5 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class7.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class7.cs new file mode 100644 index 00000000..7b153e2b --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class7.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[Edi] +[Display(Name = "EDI和HBPO核对")] +public class Class7 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class8.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class8.cs new file mode 100644 index 00000000..b5d84ffb --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/Class8.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[Edi] +[Display(Name = "EDI和BBAC核对")] +public class Class8 : BaseEntity +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/EdiAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/EdiAttribute.cs new file mode 100644 index 00000000..74e9f29b --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/EdiAttribute.cs @@ -0,0 +1,10 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[Display(Name = "EDI业务")] +public class EdiAttribute : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_DN.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_DN.cs new file mode 100644 index 00000000..e5a454f3 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_DN.cs @@ -0,0 +1,71 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[ChuKuDanGroup] +[Display(Name = "HBPO-JIS出库单")] +public class HBPO_DN : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 如 H2023060212 + /// + [Display(Name = "出库单号")] + [OneToMany] + public string DNBillNum { get; set; } = null!; + + /// + /// 定时统计记录数量 + /// + [Display(Name = "出库记状态统计")] + public decimal StockCount { get; set; } + +} +[Display(Name = "HBPO出库单明细")] +[ChuKuDanGroup] +public class HBPO_DN_DETAIL : BaseEntity +{ + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string INVGroupNum { get; set; } = null!; + + [Display(Name = "出库单号")] + public string DNBillNum { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + /// + /// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票信息 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + [Display(Name = "发货数量")] + public decimal Qty { get; set; } + + [Display(Name = "单价")] + public decimal Price { get; set; } + + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SA.cs new file mode 100644 index 00000000..7e315d34 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SA.cs @@ -0,0 +1,100 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[JISDataInput] +[Display(Name = "HBPO结算导入")] +public class HBPO_SA : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单据")] + [OneToMany] + public string BillNum { get; set; } = null!; + + [Display(Name = "出库单号")] + public string DNBillNum { get; set; } = null!; + + /// + /// 1、新建 2、已有出库3、已有扣减寄售库 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + + /// + /// 明细记录行数 + /// + [Display(Name = "明细记录行数")] + public string RecordCount { get; set; } = null!; + //集合导航 +} +[Display(Name = "HBPO结算导入明细")] +[JISDataInput] + +public class HBPO_SA_DETAIL : BaseEntity +{ + /// + /// 对应字段(PartNumber+ProductioNumber) + /// + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + /// + /// 期间 + /// + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 结算单号 + /// + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + /// + /// 对应字段PartNumber + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 对应字段productionlumber + /// + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + /// + /// 对应字段filename 区分 cn1、cn5 + /// + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 对应字段Qty + /// + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + /// + /// 匹配价格表对应区间带出 + /// + [Display(Name = "单价")] + public decimal Price { get; set; } + + /// + /// 对应字段ReceiveDate + /// + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + /// + /// 对应字段DeliveryNode + /// + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; + +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_DETAIL.cs new file mode 100644 index 00000000..825f9a26 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/HBPO_SE_DETAIL.cs @@ -0,0 +1,45 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[Display(Name = "HBPO发运数据")] +[JISDataInput] +public class HBPO_SE_DETAIL : BaseEntity +{ + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "生产码")] + public string PN { get; set; } = null!; + + [Display(Name = "日顺序号")] + public string SeqNumber { get; set; } = null!; + + [Display(Name = "小总成号")] + public string AssemblyCode { get; set; } = null!; + + [Display(Name = "注塑码")] + public string InjectionCode { get; set; } = null!; + + [Display(Name = "发货数量")] + public decimal Qty { get; set; } + + [Display(Name = "EDI数量")] + public decimal EDIQty { get; set; } + + [Display(Name = "订单时间")] + public DateTime BeginDate { get; set; } + + [Display(Name = "发货时间")] + public DateTime ShippingDate { get; set; } + + [Display(Name = "Wms发货单号")] + public string WmsBillNum { get; set; } = null!; + +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE.cs new file mode 100644 index 00000000..6e989255 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/INVOICE.cs @@ -0,0 +1,55 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[ShangWuShenHeGroup] +[Display(Name = "财务管理审核主表")] +public class INVOICE : BaseEntity +{ + [Display(Name = "实际纸质发票号")] + public string RealnvBillNum { get; set; } = null!; + + [Display(Name = "系统生成发票号")] + public string InvbillNum { get; set; } = null!; + + [Display(Name = "未税金额")] + public decimal Amt { get; set; } + + [Display(Name = "税后金额")] + public decimal TaxAmt { get; set; } + + [Display(Name = "发票分组号")] + public string INVGroupNum { get; set; } = null!; + + [Display(Name = "开票Excel文件")] + public string FileName { get; set; } = null!; + + /// + /// 1-HBPO 2-BBAC(和买单件一起开票,扣减库存时要注意分开) 3-JIT 4-备件、5-印度件 + /// + [Display(Name = "业务类别")] + public string BusinessType { get; set; } = null!; + +} + +[ShangWuShenHeGroup] +[Display(Name = "财务管理审核明细")] +public class INVOICE_DETAIL : BaseEntity +{ + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "单价")] + public decimal PRICE { get; set; } + + [Display(Name = "数量")] + public decimal Qty { get; set; } + + [Display(Name = "金额")] + public decimal Amt { get; set; } + [Display(Name = "系统生成发票号")] + public string InvbillNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_DN.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_DN.cs new file mode 100644 index 00000000..ac31d49f --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_DN.cs @@ -0,0 +1,72 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(5)] +[ChuKuDanGroup] +[Display(Name = "印度件出库单")] +public class IN_DN : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 如 J2023060212 + /// + [Display(Name = "出库单号")] + [OneToMany] + public string DNBillNum { get; set; } = null!; + + /// + /// 定时统计记录数量 + /// + [Display(Name = "各种状态统计显示")] + public string StockCount { get; set; } = null!; +} +[ChuKuDanGroup] +[Display(Name = "印度件出库单明细")] +public class IN_DN_DETAIL : BaseEntity +{ + [Display(Name = "LU+交付识别号")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "出库单号")] + + public string DNBillNum { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string INVGroupNum { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "交付识别号")] + public string PU { get; set; } = null!; + + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票分组 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + [Display(Name = "单价")] + public decimal Price { get; set; } + + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; + +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SA.cs new file mode 100644 index 00000000..414d82a9 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SA.cs @@ -0,0 +1,93 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[MaiDanJianDataInput] +[Display(Name = "印度件结算导入")] +public class IN_SA : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单据")] + [OneToMany] + public string BillNum { get; set; } = null!; + + [Display(Name = "出库单号")] + public string DNBillNum { get; set; } = null!; + + /// + /// 1、新建 2、已有出库单3、已有扣减寄售库 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + +} + +[Display(Name = "印度件结算明细")] +[MaiDanJianDataInput] +public class IN_SA_DETAIL : BaseEntity +{ + /// + /// 对应字段(LU+External Delivery ID) + /// + [Display(Name = "LU+ASN单号")] + public string KeyCode { get; set; } = null!; + + /// + /// 期间 + /// + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 结算单号 + /// + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + /// + /// 对应字段Material + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 对应字段External Delivery ID + /// + [Display(Name = "发货单号")] + public string PU { get; set; } = null!; + + /// + /// 无 + /// + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 对应字段Original Delivery Quantity + /// + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + /// + /// 匹配价格表对应区间带出 + /// + [Display(Name = "单价")] + public decimal Price { get; set; } + + /// + /// 对应字段Delivery Date + /// + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + /// + /// 对应字段【凭证号】 + /// + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs new file mode 100644 index 00000000..112e6469 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/IN_SE_DETAIL.cs @@ -0,0 +1,36 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[MaiDanJianDataInput] +[Display(Name = "印度件发运数据查询")] +public class IN_SE_DETAIL : BaseEntity +{ + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "交付识别号")] + public string PN { get; set; } = null!; + + [Display(Name = "发货数量")] + public decimal Qty { get; set; } + + [Display(Name = "开始时间")] + public DateTime BeginDate { get; set; } + + [Display(Name = "发货时间")] + public DateTime ShippingDate { get; set; } + + [Display(Name = "WMS发货单号")] + public string WmsBillNum { get; set; } = null!; + +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataInputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataInputAttribute.cs new file mode 100644 index 00000000..1ea76d7e --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataInputAttribute.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[Module] +[Display(Name = "数据输入")] +public class JISDataInputAttribute : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataOutputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataOutputAttribute.cs new file mode 100644 index 00000000..6bd31ba8 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISDataOutputAttribute.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[Module] +[Display(Name = "数据输出")] +public class JISDataOutputAttribute : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISModule.cs new file mode 100644 index 00000000..027dc78e --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JISModule.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Module; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[Display(Name = "JIS业务")] +public class JISModule : BaseModule +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataInputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataInputAttribute.cs new file mode 100644 index 00000000..67680a8b --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataInputAttribute.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[Module] +[Display(Name = "数据输入")] +public class JITDataInputAttribute : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataOutputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataOutputAttribute.cs new file mode 100644 index 00000000..53e999b1 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITDataOutputAttribute.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[Module] +[Display(Name = "数据输出")] +public class JITDataOutputAttribute : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITModule.cs new file mode 100644 index 00000000..ccac5a19 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JITModule.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Module; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(3)] +[Display(Name = "JIT业务")] +public class JITModule : BaseModule +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_DN.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_DN.cs new file mode 100644 index 00000000..04d8fc72 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_DN.cs @@ -0,0 +1,72 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(3)] +[ChuKuDanGroup] +[Display(Name = "JIT出库单主表")] +public class JIT_DN : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 如 J2023060212 + /// + [Display(Name = "出库单号")] + [OneToMany] + public string DNBillNum { get; set; } = null!; + + /// + /// 定时统计记录数量 + /// + [Display(Name = "各种状态统计显示")] + public string StockCount { get; set; } = null!; + +} + +[Display(Name = "JIT出库单明细")] +[ChuKuDanGroup] +public class JIT_DN_DETAIL : BaseEntity +{ + [Display(Name = "LU+ASN单号")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "出库单号")] + public string DNBillNum { get; set; } = null!; + + [Display(Name = "发票分组号")] + public string INVGroupNum { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = "发货单号")] + public string PN { get; set; } = null!; + + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 1、新建 2、已扣减寄售库数3、不能出库 4、已生成开票分组 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + [Display(Name = "单价")] + public decimal Price { get; set; } + + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SA.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SA.cs new file mode 100644 index 00000000..d9ee6454 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SA.cs @@ -0,0 +1,99 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[JITDataInput] +[Display(Name = "JIT件结算导入")] +public class JIT_SA : BaseEntity +{ + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "结算单据")] + [OneToMany] + public string BillNum { get; set; } = null!; + + [Display(Name = "出库单号")] + public string DNBillNum { get; set; } = null!; + + /// + /// 1、新建 2、已有出库3、已有扣减寄售库 + /// + [Display(Name = "状态")] + public string State { get; set; } = null!; + + /// + /// 明细记录行数 + /// + [Display(Name = "明细记录行数")] + public string RecordCount { get; set; } = null!; + +} + +[Display(Name = "JIT结算导入明细")] +[JITDataInput] +public class JIT_SA_DETAIL : BaseEntity +{ + /// + /// 对应字段(Material+External Delivery ID) + /// + [Display(Name = "LU+ASN单号")] + public string KeyCode { get; set; } = null!; + + /// + /// 版本号 + /// + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + /// + /// 结算单号 + /// + [Display(Name = "结算单号")] + public string BillNum { get; set; } = null!; + + /// + /// 取值字段Material + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 取值字段External Delivery ID + /// + [Display(Name = "发货单号")] + public string PN { get; set; } = null!; + + /// + /// 无 + /// + [Display(Name = "工厂地点")] + public string Site { get; set; } = null!; + + /// + /// 对应字段Quantity + /// + [Display(Name = "结算数量")] + public decimal Qty { get; set; } + + /// + /// 匹配价格表对应区间带出 + /// + [Display(Name = "单价")] + public decimal Price { get; set; } + + /// + /// 对应字段Pstng Date + /// + [Display(Name = "结算日期(收货日期)")] + public DateTime SettleDate { get; set; } + + /// + /// 对应字段Delivery + /// + [Display(Name = "结算分组")] + public string GroupNum { get; set; } = null!; +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs new file mode 100644 index 00000000..1692a026 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/JIT_SE_DETAIL.cs @@ -0,0 +1,36 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[JITDataInput] +[Display(Name = "JIT发运数据查询")] +public class JIT_SE_DETAIL : BaseEntity +{ + [Display(Name = "LU+生产码")] + public string KeyCode { get; set; } = null!; + + [Display(Name = "期间")] + public string Version { get; set; } = null!; + + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + [Display(Name = ("ASN单号"))] + public string PN { get; set; } = null!; + + [Display(Name = ("发货数量"))] + public decimal Qty { get; set; } + + [Display(Name = ("订单时间"))] + public DateTime BeginDate { get; set; } + + [Display(Name = ("发货时间"))] + public DateTime ShppingDate { get; set; } + + [Display(Name = ("Wms发货单号"))] + public string WmsBillNum { get; set; } = null!; + +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataInputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataInputAttribute.cs new file mode 100644 index 00000000..b73f2ab7 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataInputAttribute.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(1)] +[Module] +[Display(Name = "数据输入")] +public class MaiDanJianDataInputAttribute : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataOutputAttribute.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataOutputAttribute.cs new file mode 100644 index 00000000..a5f3ce57 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianDataOutputAttribute.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(2)] +[Module] +[Display(Name = "数据输出")] +public class MaiDanJianDataOutputAttribute : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianModule.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianModule.cs new file mode 100644 index 00000000..83b7ec97 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/MaiDanJianModule.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Module; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(5)] +[Display(Name = "备件业务")] +public class MaiDanJianModule : BaseModule +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ShangWuShenHeGroup.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ShangWuShenHeGroup.cs new file mode 100644 index 00000000..5c382db0 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/ShangWuShenHeGroup.cs @@ -0,0 +1,10 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(7)] +[Display(Name = "商务审核")] +public class ShangWuShenHeGroup : GroupAttribute +{ +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_BJ.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_BJ.cs new file mode 100644 index 00000000..cb8c3edb --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_BJ.cs @@ -0,0 +1,29 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; +[Order(11)] +[Display(Name = "备件价格表")] +[SystemManagement] +public class TB_PRICE_BJ : BaseEntity +{ + /// + /// 取值字段【零件号】 + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 取值字段【零件价格】 + /// + [Display(Name = "价格")] + public decimal Price { get; set; } + + /// + /// 取值字段【客户编码】 + /// + [Display(Name = "客户编码")] + public string ClientCode { get; set; } = null!; + +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_LIST.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_LIST.cs new file mode 100644 index 00000000..5b6686fc --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_PRICE_LIST.cs @@ -0,0 +1,42 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(12)] +[SystemManagement] +[Display(Name = "销售价格单")] +public class TB_PRICE_LIST : BaseEntity +{ + /// + /// 取值字段Part No. + /// + [Display(Name = "零件号")] + public string LU { get; set; } = null!; + + /// + /// 取值字段Total Price + /// + [Display(Name = "价格")] + public decimal Price { get; set; } + + /// + /// 取值字段Valid From + /// + [Display(Name = "开始时间")] + public DateTime BeginTime { get; set; } + + /// + /// 取值字段Valid To + /// + [Display(Name = "结束时间")] + public DateTime EndTime { get; set; } + + /// + /// 取值字段Plant取值字段1040=BBAC奔驰亦庄,1046=BBAC奔驰顺义,104T=HBPO + /// + [Display(Name = "客户编码")] + public string ClientCode { get; set; } = null!; + +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_ReAssemblyRelationship.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_ReAssemblyRelationship.cs new file mode 100644 index 00000000..e20b307b --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_ReAssemblyRelationship.cs @@ -0,0 +1,30 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(10)] +[SystemManagement] +[Display(Name = "库存扣减总成替换表")] +public class TB_ReAssemblyRelationship : BaseEntity +{ + /// + /// 取值字段【厂内总成号】 + /// + [Display(Name = "原总成号")] + public string SourceAssemblyCode { get; set; } = null!; + + /// + /// 取值字段【替换厂内总成号】 + /// + [Display(Name = "替换总成号")] + public string DestinationAssemblyCode { get; set; } = null!; + + /// + /// 取值字段【客户编码】 + /// + [Display(Name = "客户编码")] + public string ClientCode { get; set; } = null!; + +} diff --git a/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_RePartsRelationship.cs b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_RePartsRelationship.cs new file mode 100644 index 00000000..0caa9f63 --- /dev/null +++ b/docs/demo/src/WTA.Application/Identity/Entities/SystemManagement/TB_RePartsRelationship.cs @@ -0,0 +1,27 @@ +using System.ComponentModel.DataAnnotations; +using WTA.Shared.Attributes; +using WTA.Shared.Domain; + +namespace WTA.Application.Identity.Entities.SystemManagement; + +[Order(9)] +[SystemManagement] +[Display(Name = "客户端替换件关系")] +public class TB_RePartsRelationship : BaseEntity +{ + /// + /// 取值字段【零件号】 + /// + [Display(Name = "零件号")] + public string LU { set; get; } = null!; + + /// + /// 取值字段【替换零件号】 + /// + [Display(Name = "替换零件号")] + public string RepLU { set; get; } = null!; + + [Display(Name = "客户编码")] + public string ClientCode { set; get; } = null!; + +} diff --git a/docs/demo/src/WTA.Application/Identity/Identity.zip b/docs/demo/src/WTA.Application/Identity/Identity.zip new file mode 100644 index 00000000..dcfbf86e Binary files /dev/null and b/docs/demo/src/WTA.Application/Identity/Identity.zip differ diff --git a/docs/demo/src/WTA.Shared/Controllers/GenericController.cs b/docs/demo/src/WTA.Shared/Controllers/GenericController.cs index 3b87ed33..02482cba 100644 --- a/docs/demo/src/WTA.Shared/Controllers/GenericController.cs +++ b/docs/demo/src/WTA.Shared/Controllers/GenericController.cs @@ -1,4 +1,3 @@ -using DocumentFormat.OpenXml.Bibliography; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; @@ -154,7 +153,7 @@ public class GenericControllerguids.Contains(o.Id)); + this.Repository.Delete(o => guids.Contains(o.Id)); this.Repository.SaveChanges(); return NoContent(); } diff --git a/docs/demo/src/WTA.Shared/Extensions/JsonSchemaExtensions.cs b/docs/demo/src/WTA.Shared/Extensions/JsonSchemaExtensions.cs index 87d0390c..9acf0dc3 100644 --- a/docs/demo/src/WTA.Shared/Extensions/JsonSchemaExtensions.cs +++ b/docs/demo/src/WTA.Shared/Extensions/JsonSchemaExtensions.cs @@ -131,7 +131,7 @@ public static class JsonSchemaExtensions schema.AddNotNull("description", meta.Description); schema.AddNotNull("format", meta.DataTypeName?.ToLowerCamelCase()); schema.AddNotNull("input", meta.TemplateHint?.ToLowerCamelCase()); - if(meta.TemplateHint=="select"&&meta.IsEnumerableType&& modelType.IsGenericType) + if (meta.TemplateHint == "select" && meta.IsEnumerableType && modelType.IsGenericType) { schema.TryAdd("url", modelType.GetGenericArguments().First().Name.ToSlugify()); }