Backup/Discuz.Entity/Forum/ShowtopicPageAttachmentInfo.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using Newtonsoft.Json;
using System.Xml.Serialization;

namespace Discuz.Entity
{
	/// <summary>
	/// ShowtopicPageAttachmentInfo 的摘要说明。
	/// </summary>
	public class ShowtopicPageAttachmentInfo : AttachmentInfo
	{
		private int m_getattachperm; //下载附件权限
		private int m_attachimgpost; //附件是否为图片
		private int m_allowread; //附件是否允许读取
		private string m_preview = string.Empty; //预览信息
        private int m_isbought = 0;//附件是否被买卖
        private int m_inserted = 0; //是否已插入到内容
		/// <summary>
		/// 下载附件权限
		/// </summary>
        public int Getattachperm
		{
			get { return m_getattachperm;}
			set { m_getattachperm = value;}
		}

		/// <summary>
		/// 附件是否为图片
		/// </summary>
        public int Attachimgpost
		{
			get { return m_attachimgpost;}
			set { m_attachimgpost = value;}
		}

		/// <summary>
		/// 附件是否允许读取
		/// </summary>
        public int Allowread
		{
			get { return m_allowread;}
			set { m_allowread = value;}
		}
		
		/// <summary>
		/// 预览信息
		/// </summary>
        public string Preview
		{
		    get { return m_preview; }
		    set { m_preview = value; }
		}

        /// <summary>
		/// 附件是否被买卖
		/// </summary>
        public int Isbought
		{
            get { return m_isbought; }
            set { m_isbought = value; }
后面还有 14 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。