93f2f1bd3b
Major refactor replacing Sale/Order with ShopPO → Invoice → LoadingSheet flow. Removed legacy Sale/Order models and features; introduced ShopPO, ShopPOItem, Invoice, LoadingSheetOrder, and SysConfig models. Updated related entities, enums, repositories, and controllers. Added new migrations for schema changes and system config. Overhauled business logic and DI registrations. Updated documentation with migration plan.
16 lines
409 B
C#
16 lines
409 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Distribution.Models
|
|
{
|
|
public class LoadingSheetOrder
|
|
{
|
|
public Guid FK_LoadingSheetId { get; set; }
|
|
[ForeignKey("FK_LoadingSheetId")]
|
|
public LoadingSheet LoadingSheet { get; set; }
|
|
|
|
public Guid FK_ShopPOId { get; set; }
|
|
[ForeignKey("FK_ShopPOId")]
|
|
public ShopPO ShopPO { get; set; }
|
|
}
|
|
}
|