using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
 
namespace CloudOne.Models
{
    public class Blog
    {
        public int BlogID { get; set; }
        public int CategoryID { get; set; }
        [MaxLength(70)]
        [Required]
        public string BlogTitle { get; set; }
        [Column(TypeName="ntext")]
        [MaxLength]
        public string BlogContent { get; set; }
    }
}

 

相关文章:

  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
  • 2021-05-24
  • 2021-05-30
  • 2021-12-29
  • 2021-09-29
猜你喜欢
  • 2021-12-13
  • 2021-12-04
  • 2021-04-10
  • 2021-12-13
  • 2022-01-12
  • 2021-12-06
相关资源
相似解决方案