Advertisement
MarcinSZ

MVC.ogloszeniadrobne.Adverts

Nov 26th, 2014
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.45 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Web;
  6.  
  7. namespace ogloszeniadrobne.Models
  8. {
  9.     public class Adverts
  10.     {
  11.         [Required]
  12.         public int AdvertID { get; set; }
  13.         [StringLength(30), Required]
  14.         [Box]
  15.         public string Category { get; set; }
  16.         public string Title { get; set; }
  17.  
  18.         public string Text { get; set; }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement