| 123456789101112131415161718 |
- using Mapster;
- using Model;
- using Vo.Admin;
- namespace Util
- {
- public class ModelVoAdapt
- {
- public static void Map()
- {
- TypeAdapterConfig<AppModule, GetAppModuleListVo>.NewConfig()
- .Map(dest => dest.systemSupport, src => string.IsNullOrEmpty(src.systemSupport)
- ? Array.Empty<string>()
- : src.systemSupport.Split(',', StringSplitOptions.RemoveEmptyEntries));
- }
- }
- }
|