File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed
Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 66 <Nullable >enable</Nullable >
77
88 <PackageId >Avolutions.Baf.Domain</PackageId >
9- <Version >0.13 .0</Version >
9+ <Version >0.14 .0</Version >
1010
1111 <Title >Avolutions BAF Domain</Title >
1212 <Company >Avolutions</Company >
2929 </ItemGroup >
3030
3131 <ItemGroup >
32- <PackageReference Include =" Avolutions.Baf.Core" Version =" 0.13 .0" />
32+ <PackageReference Include =" Avolutions.Baf.Core" Version =" 0.14 .0" />
3333 <PackageReference Include =" FluentValidation" Version =" 12.0.0" />
3434 <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 9.0.8" />
3535 </ItemGroup >
Original file line number Diff line number Diff line change 1+ using Avolutions . Baf . Domain . AcademicTitles . Models ;
2+ using Avolutions . Baf . Domain . Salutations . Models ;
3+
4+ namespace Avolutions . Baf . Domain . Persons . Abstractions ;
5+
6+ public interface IPerson
7+ {
8+ public string ? FirstName { get ; set ; }
9+ public string LastName { get ; set ; }
10+
11+ public Guid ? SalutationId { get ; set ; }
12+ public Salutation ? Salutation { get ; set ; }
13+
14+ public Guid ? AcademicTitleId { get ; set ; }
15+ public AcademicTitle ? AcademicTitle { get ; set ; }
16+ }
Original file line number Diff line number Diff line change 1+ using Avolutions . Baf . Domain . Persons . Abstractions ;
2+
3+ namespace Avolutions . Baf . Domain . Persons . Extensions ;
4+
5+ public static class PersonExtensions
6+ {
7+ public static string FullName ( this IPerson person )
8+ {
9+ return $ "{ person . AcademicTitle ? . Value } { person . FirstName } { person . LastName } ". Trim ( ) ;
10+ }
11+ }
You can’t perform that action at this time.
0 commit comments