using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; namespace dccdc.Models { public class main_suggestionsModel { public int id { get; set; } public int assessed_id { get; set; } public int harmful_id { get; set; } [Required(ErrorMessage = "不能为空!")] public string suggestions { get; set; } } }