问题描述
我目前正在使用 来验证我的数据,我想实现下一个:
[NotMapped]
public ICollection<int> DeveloperIds { get; set; }
[NotMapped]
public ICollection<int> CategoryIds { get; set; }
[NotMapped]
public ICollection<int> PlatformIds { get; set; }
有没有办法做到这一点?如果是这样,如何?我一直在尝试:
const schema = Joi.object({
arr: Joi.array().min(1).required(),qty: Joi.number().min(1).max(/* arr.min */)
});
但它似乎不起作用。
提前致谢!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)