123456789101112131415161718 |
- using System.ComponentModel.DataAnnotations;
- using WebApiWebSem.Dbo.ArticlesFields;
-
- namespace WebApiWebSem.Dbo.Articles
- {
- public class ArticlesAddDbo<T> : ArticlesBasicDbo<T>
- {
- [Required]
- public string Id { get; set; }
-
- [Required]
- public string Type { get; set; }
- }
-
- public class ArticlesAddDbo : ArticlesAddDbo<ArticlesFieldsAddDbo>
- {
- }
- }
|