using LearningOfficer.OA.Common.Dtos.SysFile;
using LearningOfficer.OA.Common.Enums;
using Masuit.Tools.Systems;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.FeedBack
{
public class GetFeedBackInfoSingleVM
{
///
///
///
[SugarColumn(IsPrimaryKey = true)]
public long Id { get; set; }
///
/// 备 注:建议类型(字典表-枚举值)
/// 默认值:
///
public long FeedbackType { get; set; }
///
/// 备 注:用户id
/// 默认值:
///
public long AddUserid { get; set; }
///
/// 备 注:提议时间
/// 默认值:
///
public DateTime AddTime { get; set; }
///
/// 备 注:现状描述
/// 默认值:
///
public string Remark { get; set; } = null!;
///
/// 备 注:优化方案
/// 默认值:
///
public string OptimizationPlan { get; set; } = null!;
///
/// 备 注:状态(默认0未确认、1已采纳、2不采纳、3重复建议)
/// 默认值:
///
public FeedBackInfoStatusEnum Status { get; set; }
///
/// 获得积分
///
public int EarnPoints { get; set; } = 0;
///
/// 建议类型中文
///
public string FeedbackTypeName { get; set; } = null!;
///
/// 采纳状态中文 示例:已被采纳
///
[SugarColumn(IsIgnore = true)]
public string StatusName
{
get
{
return Status.GetEnumDescription().Description;
}
}
///
/// 文件信息
///
public List files { get; set; }
///
/// 所在云校
///
public string CloudSchoolName { get; set; }
///
/// 所在学校
///
public string SchoolName { get; set; }
///
/// 提议人联系电话
///
public string AddUserPhone { get; set; }
///
/// 提议人
///
public string AddUserName { get; set; }
}
}