我有一个看起来像这样的课
public class ClassA
{
[JsonProperty(Required = Required.Always)]
public int variable1{get;set}
[JsonProperty(Required = Required.Always)]
public ClassB variable2{get;set;}
}
B类看起来像这样
public class classB
{
[JsonProperty(Required = Required.Always)]
int variable3{get;set}
[JsonProperty(Required = Required.Always)]
ClassC variable4{get;set}
}
由于我是在此类中引用B类类型,因此这仍被视为poco类吗?