using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace DSWeb.Areas.Dispatch.DB { [Table("sys_MpConfig")] public class MpConfigInfo { public MpConfigInfo() { this.AppId = string.Empty; this.AppSecret = string.Empty; this.LastUpdate = DateTime.Now; this.Token = string.Empty; } [Key] public string AppId { get; set; } public string AppSecret { get; set; } public DateTime? LastUpdate { get; set; } public DateTime? ExpireTime { get; set; } public string Token { get; set; } } }