1. 重命名枚举项与实体字段,修正类型引用 2. 新增IsNull扩展方法与多项字符串处理扩展 3. 新增大量业务DTO、服务接口与枚举定义 4. 重构RabbitMQ服务实现,替换旧版消息队列组件 5. 优化签到服务的宠物喂养事务逻辑 6. 移除冗余的项目引用与旧版消息队列代码 7. 新增Excel导出、导入模板相关工具方法
72 lines
1.6 KiB
C#
72 lines
1.6 KiB
C#
using MiniExcelLibs.Attributes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Dto.Journal
|
|
{
|
|
public partial class JournalCatalogTreeListDto
|
|
{
|
|
/// <summary>
|
|
/// Desc:主键id
|
|
/// </summary>
|
|
[ExcelIgnore]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:书id
|
|
/// </summary>
|
|
[ExcelIgnore]
|
|
public long JournalId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:一级目录名称
|
|
/// </summary>
|
|
[DisplayName("目录名称")]
|
|
[Required]
|
|
public string? ParentName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:目录名称
|
|
/// </summary>
|
|
[DisplayName("二级目录")]
|
|
[Required]
|
|
public string Name { get; set; }
|
|
|
|
[ExcelIgnore]
|
|
public long PageId { get; set; }
|
|
|
|
[DisplayName("页码")]
|
|
[Required]
|
|
public int PageNum { get; set; }
|
|
|
|
[ExcelIgnore]
|
|
public long? ParentId { get; set; }
|
|
}
|
|
|
|
|
|
public partial class IcrJournalCatalogTreeDto
|
|
{
|
|
/// <summary>
|
|
/// Desc:主键id
|
|
/// </summary>
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 层级
|
|
/// </summary>
|
|
public int Level { get; set; }
|
|
|
|
public List<IcrJournalCatalogTreeDto> Child { get; set; }
|
|
}
|
|
}
|