feat 移除订单编号字段并优化订单创建逻辑
- 移除了 `Order` 实体中的 `OrderSN` 字段及相关逻辑。 - 修改 `Order` 构造函数,简化参数,新增默认状态字段。 - 更新 `AddressInfo` 属性访问修饰符为 `private set`。 - 调整 `OrderAppService` 的订单创建逻辑,适配新构造函数。 - 更新数据库迁移路径,新增迁移文件 `20251017042956_V1.0.0`。 - 新增 `AppOrder`、`AppProduct`、`AppServiceCategory` 表。 - 在 `AbpUsers` 表中新增字段以支持用户扩展。 - 更新实体配置,统一命名约定,支持扩展映射。 - 添加 `AdminDataSeedContributor` 类,预留数据种子逻辑。
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
using System.Threading.Tasks;
|
||||
using Volo.Abp.Data;
|
||||
using Volo.Abp.DependencyInjection;
|
||||
|
||||
namespace KonSoft.Admin.DbMigrations;
|
||||
|
||||
public class AdminDataSeedContributor : IDataSeedContributor, ITransientDependency
|
||||
{
|
||||
public Task SeedAsync(DataSeedContext context)
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user