Cms.Core/Cms.Core.Entity/ZhiboSystemSchedules.cs

53 lines
2.1 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 ZhiboSystemSchedules
{
[Key]
public int Id { get; set; }
public int Commenttype { get; set; }//评论审核开关1、不审2、审核
public string? Title { get; set; }//课堂或标题
public string? Cmsmemo { get; set; }//cmsmemo
public string? Lecturer { get; set; }//分析师ID
public string? Weeks { get; set; }//周几、数字多个以“”分开1,2,3
public string? Starttime { get; set; }//开课时间 0900
public string? Endtime { get; set; }//结束时间 0930
public int Pretime { get; set; }//预热:单位,分钟,比开课时间提交打开直接流
public int Suftime { get; set; }//加时:单位,分钟,比结束时间退后关闭直接流
public string? Memo { get; set; }//简介或导读
public int Livestreamid { get; set; }//直播流id
public RoomType Roomtype { get; set; }//投放方式
public string? Newsclassid { get; set; }//回顾栏目id
public int Orders { get; set; }// 排序
public int Status { get; set; }
public string? Img { get; set; }//封面图
public string? Annid { get; set; } //公告关联id
public int Livesonoff { get; set; } //在线数据开关:在线人数,进出数据
public int Playbacktype { get; set; }
public MarketingType Marketingtype { get; set; } //营销类型:1、免费营销 10、升级营销 100、付费服务
public string? Dept { get; set; } //授权使用
}
public enum RoomType
{
[Description("直播间")]
= 1,
[Description("工作室")]
= 2
}
public enum MarketingType
{
[Description("免费营销")]
= 0,
[Description("付费服务")]
= 100
}
}