//------------------------------------------------------------------------------ // // This code was generated by a CodeSmith Template. // // DO NOT MODIFY contents of this file. Changes to this // file will be lost if the code is regenerated. // Author:Yubao Li // //------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; namespace OpenAuth.Repository.Domain { /// /// 应用 /// [Table("Application")] public partial class Application : StringEntity { public Application() { this.Name= string.Empty; this.AppSecret= string.Empty; this.Description= string.Empty; this.Icon= string.Empty; this.CreateTime= DateTime.Now; this.CreateUser= string.Empty; } /// /// 应用名称 /// [Description("应用名称")] public string Name { get; set; } /// /// 应用密钥 /// [Description("应用密钥")] public string AppSecret { get; set; } /// /// 应用描述 /// [Description("应用描述")] public string Description { get; set; } /// /// 应用图标 /// [Description("应用图标")] public string Icon { get; set; } /// /// 是否可用 /// [Description("是否可用")] public bool Disable { get; set; } /// /// 创建日期 /// [Description("创建日期")] public System.DateTime CreateTime { get; set; } /// /// 创建人 /// [Description("创建人")] public string CreateUser { get; set; } } }