25 lines
759 B
C#
25 lines
759 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.Linq;
|
|||
|
using System.Web;
|
|||
|
using Resources;
|
|||
|
|
|||
|
namespace Weee.Models
|
|||
|
{
|
|||
|
public class PublicMessage:MultiLanguage
|
|||
|
{
|
|||
|
public PublicMessage()
|
|||
|
{
|
|||
|
CreatedTime = DateTime.UtcNow;
|
|||
|
UpdatedTime = DateTime.UtcNow;
|
|||
|
}
|
|||
|
public int ID { get; set; }
|
|||
|
[Display(Name = "Notes", ResourceType = typeof(Resource))]
|
|||
|
public string Note { get; set; }
|
|||
|
[Display(Name = "CreatedTime", ResourceType = typeof(Resource))]
|
|||
|
public DateTime CreatedTime { get; set; }
|
|||
|
[Display(Name = "UpdateTime", ResourceType = typeof(Resource))]
|
|||
|
public DateTime UpdatedTime { get; set; }
|
|||
|
}
|
|||
|
}
|