85 lines
2.1 KiB
C#
85 lines
2.1 KiB
C#
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>
|
||
/// 备 注:根id(0)
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "root_id" )]
|
||
public long RootId { get; set; }
|
||
|
||
|
||
}
|
||
|
||
} |