Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Dtos/Comment/CommentInfoResult.cs

87 lines
2.1 KiB
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 LearningOfficer.OA.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.Comment
{
public class CommentInfoResult
{
public long Id { get; set; }
/// <summary>
/// 备 注:所属类型1工作任务、2日报、3周报、4月报
/// 默认值:
///</summary>
public int ComType { get; set; }
/// <summary>
/// 备 注:任务/总结 id
/// 默认值:
///</summary>
public long SourceId { get; set; }
/// <summary>
/// 备 注:评论人姓名
/// 默认值:
///</summary>
public string AddUsername { get; set; } = null!;
/// <summary>
/// 备 注:评论人
/// 默认值:
///</summary>
public long AddUserid { get; set; }
/// <summary>
/// 备 注:评论时间
/// 默认值:
///</summary>
public DateTime AddTime { get; set; }
/// <summary>
/// 备 注:评论内容
/// 默认值:
///</summary>
public string ComContent { get; set; } = null!;
/// <summary>
/// 备 注:父级id子评论默认0为一级评论
/// 默认值:
///</summary>
public long PId { get; set; }
/// <summary>
/// 备 注:根id0
/// 默认值:
///</summary>
public long RootId { get; set; }
/// <summary>
/// 根下评论数量
/// </summary>
public int ChildrenCount { get; set; } = 0;
/// <summary>
/// 评论人头像
/// </summary>
public string? HeadImage { get; set; }
/// <summary>
/// 评论人角色枚举 1000总部长 1001部长 1002组长 1003学习官
/// </summary>
public SysRoleEnum RoleEnum { get; set; }
/// <summary>
/// 回复人名称
/// </summary>
public string ReplyUserName { get; set; }
}
}