Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Dtos/FeedBack/GetFeedBackInfoSingleVM.cs

98 lines
2.6 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.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
{
/// <summary>
///
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public long Id { get; set; }
/// <summary>
/// 备 注:建议类型(字典表-枚举值)
/// 默认值:
///</summary>
public long FeedbackType { get; set; }
/// <summary>
/// 备 注:用户id
/// 默认值:
///</summary>
public long AddUserid { get; set; }
/// <summary>
/// 备 注:提议时间
/// 默认值:
///</summary>
public DateTime AddTime { get; set; }
/// <summary>
/// 备 注:现状描述
/// 默认值:
///</summary>
public string Remark { get; set; } = null!;
/// <summary>
/// 备 注:优化方案
/// 默认值:
///</summary>
public string OptimizationPlan { get; set; } = null!;
/// <summary>
/// 备 注:状态默认0未确认、1已采纳、2不采纳、3重复建议
/// 默认值:
///</summary>
public FeedBackInfoStatusEnum Status { get; set; }
/// <summary>
/// 获得积分
/// </summary>
public int EarnPoints { get; set; } = 0;
/// <summary>
/// 建议类型中文
/// </summary>
public string FeedbackTypeName { get; set; } = null!;
/// <summary>
/// 采纳状态中文 示例:已被采纳
/// </summary>
[SugarColumn(IsIgnore = true)]
public string StatusName
{
get
{
return Status.GetEnumDescription().Description;
}
}
/// <summary>
/// 文件信息
/// </summary>
public List<SysFileViewDto> files { get; set; }
/// <summary>
/// 所在云校
/// </summary>
public string CloudSchoolName { get; set; }
/// <summary>
/// 所在学校
/// </summary>
public string SchoolName { get; set; }
/// <summary>
/// 提议人联系电话
/// </summary>
public string AddUserPhone { get; set; }
/// <summary>
/// 提议人
/// </summary>
public string AddUserName { get; set; }
}
}