Cms.Core/Cms.Core.Entity/ZhiboSystemDiscussion.cs

121 lines
2.9 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.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cms.Core.Entity
{
public class ZhiboSystemDiscussion
{
[Key]
public int Id { get; set; }
/// <summary>
/// 0、私聊1、公开3、删除
/// </summary>
public int Type { get; set; }
/// <summary>
/// 违法类型
/// </summary>
public Illegaltype Illegaltype { get; set; }
/// <summary>
/// 消息类型
/// </summary>
public Msgtype Msgtype { get; set; }
/// <summary>
/// 内容
/// </summary>
public string? Msg { get; set; }
/// <summary>
/// 时间
/// </summary>
public DateTime Msgtime { get; set; }
/// <summary>
/// 课程ID
/// </summary>
public int Scheduleid { get; set; }
/// <summary>
/// 平台ID
/// </summary>
public string? Appid { get; set; }
/// <summary>
/// 用户user
/// </summary>
public string? Appuserid { get; set; }
/// <summary>
/// 用户信息
/// </summary>
public string? Userinfo { get; set; }
/// <summary>
/// 用户类型0、普通用户1、分析师等管理者
/// </summary>
public Usertype Usertype { get; set; }
public string? Ip { get; set; }
public int Toid { get; set; }
public string? Touserinfo { get; set; }
public string? Toappid { get; set; }
public string? Toappuserid { get; set; }
public int Tomsgtype { get; set; }
public string? Tomsg { get; set; }
public int Deptid { get; set; }
public int Eid { get; set; }
public int Roomid { get; set; }
}
public enum Usertype
{
[Description("机器人")]
= -1,
[Description("普通用户")]
= 0,
[Description("管理员")]
= 1,
}
public enum Msgtype
{
[Description("文字")]
= 0,
[Description("图片")]
= 1,
[Description("礼物")]
= 2,
[Description("链接")]
= 3,
//高级礼物 = 4,
[Description("购物车")]
= 5,
}
public enum MsgtypeMid
{
= 0,
= 1,
= 3,
}
public enum Type
{
= 0,
= 1,
= 2,
= 3,
}
public enum TypeMin
{
= 0,
= 1,
}
public enum Illegaltype
{
= 0,
= 1,
IP黑色单 = 2,
= 3,
}
}