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; }//开课时间 09:00 public string? Endtime { get; set; }//结束时间 09:30 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 } }