You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.2 KiB
45 lines
1.2 KiB
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Znyc.Recruitment.Admin.Commons.Entitys;
|
|
|
|
namespace Znyc.Recruitment.Admin.Security.Entitys
|
|
{
|
|
/// <summary>
|
|
/// 系统应用表,数据实体对象
|
|
/// </summary>
|
|
[Table("sys_app")]
|
|
[Serializable]
|
|
public class APPEntity : BaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 默认构造函数(需要初始化属性的在此处理)
|
|
/// </summary>
|
|
public APPEntity()
|
|
{
|
|
CreatedTime = DateTime.Now;
|
|
ModifiedTime = DateTime.Now;
|
|
IsDeleted = false;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 应用Id
|
|
/// </summary>
|
|
[MaxLength(50)]
|
|
[Description("应用Id")]
|
|
public virtual string AppId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 应用密钥
|
|
/// </summary>
|
|
[MaxLength(256)]
|
|
[Description("应用密钥")]
|
|
public virtual string AppSecret { get; set; }
|
|
|
|
/// <summary>
|
|
/// 有效标志
|
|
/// </summary>
|
|
public virtual bool IsEnabled { get; set; }
|
|
}
|
|
}
|