From d57ead6ea4d5071dbdb00439e97d617fa0a3484e Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Fri, 30 Jun 2023 11:07:08 +0800 Subject: [PATCH] update --- .../src/WTA.Shared/Attributes/OneToManyAttribute.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs diff --git a/docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs b/docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs new file mode 100644 index 00000000..5197be21 --- /dev/null +++ b/docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs @@ -0,0 +1,11 @@ +namespace WTA.Shared.Attributes; + +public class OneToManyAttribute +{ + public Type Type { get; set; } = null; + public OneToManyAttribute(string property) + { + this.Type=typeof(TEntity); + this.Property=Property; + } +}