Files
tnb.server/apihost/Tnb.API.Entry/wwwroot/Template/VengineSqlSugar/AppService.cshtml
2024-04-11 17:31:32 +08:00

30 lines
713 B
Plaintext

@using Tnb.Core;
@using Tnb.Vengine;
@using Tnb.Vengine.Domain;
@{
AcmenVmodelContext context = Model;
Vmodel vm = context.Vm;
}
using Microsoft.AspNetCore.Mvc;
using Tnb.Core;
using Tnb.Vengine.AppService;
using Tnb.Vengine.DataAccess;
using Tnb.Vengine.Domain;
using @(context.NsPrefix + "." + vm.areaCode + ".Domain");
namespace @(context.NsPrefix + "." + vm.areaCode + ".AppService");
/// <summary>
/// 模型 @vm.vmName 应用服务类
/// </summary>
[ApiExplorerSettings(GroupName = Consts.ApiGroupCode)]
public class @(vm.vmCode)AppService : VengineAppService<@(vm.vmCode)>
{
/// <summary>
/// 构造函数
/// </summary>
public @(vm.vmCode)AppService(IDataAccess da) : base(da)
{
}
}