feat: 初始化后台管理模块与基础业务框架
1. 新增依赖注入生命周期标记接口、基础仓储与管理员仓储实现 2. 新增管理员认证与用户服务接口,补充认证相关DTO 3. 重构实体审计字段命名,统一Created/UpdatedAt规范 4. 新增大量业务实体类与API版本枚举配置 5. 集成Autofac依赖注入、JWT自动刷新与跨域配置 6. 替换原有微信小程序与旧认证服务为后台管理系统架构 7. 完善Swagger文档配置与项目基础部署配置
This commit is contained in:
92
QYZH.InteractiveMagazine.Models/Entity/Journal.cs
Normal file
92
QYZH.InteractiveMagazine.Models/Entity/Journal.cs
Normal file
@ -0,0 +1,92 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace QYZH.InteractiveMagazine.Models.Entity
|
||||
{
|
||||
///<summary>
|
||||
///期刊表
|
||||
///</summary>
|
||||
[SugarTable("Journal")]
|
||||
public partial class Journal : BaseEntity
|
||||
{
|
||||
public Journal(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:期刊号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int IssueNumber {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:期刊标题
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string Title {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:封面图地址
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string CoverImageUrl {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:摘要
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string Summary {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:发布时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? PublishDate {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否启用
|
||||
/// Default:b'1'
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public bool IsActive {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:排序权重
|
||||
/// Default:0
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int SortOrder {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:编者寄语
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string EditorNote {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:主题色
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string ThemeColor {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:期刊类型: Normal, Special
|
||||
/// Default:Normal
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string Type {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:状态: Draft, Published, Archived
|
||||
/// Default:Draft
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string Status {get;set;}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user