89 lines
2.5 KiB
C#
89 lines
2.5 KiB
C#
using LearningOfficer.OA.Common.Enums;
|
||
using Masuit.Tools.Systems;
|
||
using SqlSugar;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
namespace LearningOfficer.OA.Core.Entities.OA.FeedBack
|
||
{
|
||
/// <summary>
|
||
/// 意见反馈-主表云校、电话、姓名从用户表中查询
|
||
///</summary>
|
||
[SugarTable("feed_backinfo")]
|
||
public class FeedBackInfo : BaseEntity
|
||
{
|
||
|
||
|
||
/// <summary>
|
||
/// 备 注:建议类型(字典表-枚举值)
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "feedback_type")]
|
||
public long FeedbackType { get; set; }
|
||
|
||
/// <summary>
|
||
/// 备 注:用户id
|
||
/// 默认值:
|
||
///</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 = "adopt_time")]
|
||
public DateTime AdoptTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 备 注:现状描述
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "remark")]
|
||
public string Remark { get; set; } = null!;
|
||
|
||
/// <summary>
|
||
/// 备 注:优化方案
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "optimization_plan")]
|
||
public string OptimizationPlan { get; set; } = null!;
|
||
|
||
/// <summary>
|
||
/// 备 注:状态(默认0未确认、1已采纳、2不采纳、3重复建议)
|
||
/// 默认值:
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "status")]
|
||
public FeedBackInfoStatusEnum Status { get; set; }
|
||
/// <summary>
|
||
/// 获得积分
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "earn_points")]
|
||
public int EarnPoints { get; set; } = 0;
|
||
/// <summary>
|
||
/// 是否删除
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "is_delete")]
|
||
public bool IsDelete { get; set; }
|
||
/// <summary>
|
||
/// 采纳状态中文 示例:已被采纳
|
||
/// </summary>
|
||
[SugarColumn(IsIgnore = true)]
|
||
public string StatusName
|
||
{
|
||
get
|
||
{
|
||
return Status.GetEnumDescription().Description;
|
||
}
|
||
}
|
||
|
||
}
|
||
|
||
} |