Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Core/Entities/OA/Comment/CommentInfo.cs

85 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 System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using LearningOfficer.OA.Core.Entities;
namespace LearningOfficer.OA.Core.Entities.OA.Comment
{
/// <summary>
/// 评论模块
///</summary>
[SugarTable("comment_info")]
public class CommentInfo : BaseEntity
{
/// <summary>
/// 备 注:所属类型1工作任务、2日报、3周报、4月报
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "com_type" )]
public int ComType { get; set; }
/// <summary>
/// 备 注:任务/总结 id
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "source_id" )]
public long SourceId { get; set; }
/// <summary>
/// 备 注:评论人姓名
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "add_username" )]
public string AddUsername { get; set; } = null!;
/// <summary>
/// 备 注:评论人
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "add_userid" )]
public long AddUserid { get; set; }
/// <summary>
/// 备 注:评论时间
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "add_time" )]
public DateTime AddTime { get; set; }
/// <summary>
/// 备 注:评论内容
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "com_content" )]
public string ComContent { get; set; } = null!;
/// <summary>
/// 备 注:父级id子评论默认0为一级评论
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "p_id" )]
public long PId { get; set; }
/// <summary>
/// 备 注:根id0
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "root_id" )]
public long RootId { get; set; }
}
}