DS7/DSWeb/Areas/SoftMng/DB/FeedbackMessage.cs

27 lines
832 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DSWeb.Areas.SoftMng.DB
{
[Table("FeedbackMessage")]
public class FeedbackMessage
{
public const string FeedbackMessageTypeAccept = "Accept";
public const string FeedbackMessageTypeProcess = "Process";
public const string FeedbackMessageTypeFinish = "Finish";
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public string Type { get; set; }
public string FeedbackId { get; set; }
public string Title { get; set; }
public string Body { get; set; }
public DateTime CreateTime { get; set; }
}
}