Files
QYZH.InteractiveMagazine/QYZH.InteractiveMagazine.Models/Dto/MoveInput.cs
glz e493c85d08 refactor,feat: 批量代码重构与新增业务模块
1. 重命名枚举项与实体字段,修正类型引用
2. 新增IsNull扩展方法与多项字符串处理扩展
3. 新增大量业务DTO、服务接口与枚举定义
4. 重构RabbitMQ服务实现,替换旧版消息队列组件
5. 优化签到服务的宠物喂养事务逻辑
6. 移除冗余的项目引用与旧版消息队列代码
7. 新增Excel导出、导入模板相关工具方法
2026-06-11 17:01:24 +08:00

30 lines
773 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QYZH.InteractiveMagazine.Models.Base
{
public class MoveInput
{
/// <summary>
/// 要移动节点ID (必须)
/// </summary>
[Required]
public long SourceId { get; set; }
/// <summary>
/// 目标父节点ID (0表示移动到根节点)
/// </summary>
public long TargetParentId { get; set; }
/// <summary>
/// 在目标父节点下的插入位置 (可选从0开始,null表示追加到末尾)
/// </summary>
[Range(0, int.MaxValue)]
public int? Position { get; set; }
}
}