Skip to content

Commit

Permalink
🎨 EntityGeneratorPropertyModifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Lxy829 committed May 23, 2024
1 parent 80eca7a commit ee5383d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ public static void WriteRequired(Stream stream)
{
property =
"""
public {0} {1} {2}{3}
public {0} {1} {2} { get; set; }
"""u8;
stream.WriteFormat(property, Field.Modifier, propertyType, propertyName, Field.Modifier != "const" ? " { get; set; }" : string.Empty);
stream.WriteFormat(property, Field.Modifier, propertyType, propertyName);
}
else
{
Expand Down

0 comments on commit ee5383d

Please sign in to comment.