更新时间:2022-06-03 02:26:53
你想要的是有点混乱,方法:
What you want is a little confusing, but there is a number of ways:
就我个人而言,我会遵循最后一种方式,那么你将有一套完整的类来进行只读,和做这两个。
Personally, I would follow the last way, then you will have a full set of classes for reading-only, writing-only, and for doing both.