demo20230512/Models/PublicMessage.cs

25 lines
759 B
C#
Raw Normal View History

2023-05-12 10:20:28 +08:00
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; }
}
}