using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CRM.Core.DTO.LivePlan
{
public class LivePlanRequestDto
{
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; set; }
public int? PageIndex { get; set; }
public int? PageSize { get; set; }
public string BeforeStatus { get; set; }
public int? DuringStatus { get; set; }
public int? AfterStatus { get; set; }
public int? Usetype { get; set; }
public string DeptId { get; set; }
public string Reason { get; set; }
public string Eid { get; set; }
}
public class LivePlanResponseDto
{
public int? id { get; set; }
public string dept { get; set; }
public string deptments { get; set; }
public string title { get; set; }
public int? duration { get; set; }
public DateTime? zbtime { get; set; }
public string scene { get; set; }
public int? beforeStatus { get; set; }
public string beforeStatusStr { get; set; }
public int? duringStatus { get; set; }
public string duringStatusStr { get; set; }
public int? afterStatus { get; set; }
public string afterStatusStr { get; set; }
public int? usetype { get; set; }
public string usetypeStr { get; set; }
public string content { get; set; }
public string files { get; set; }
public string lecturer { get; set; }
public int? DeptId { get; set; }
public string DeptName { get; set; }
///
/// 场景
///
public int? scenetype { get; set; }
///
/// 场景枚举
///
public string scenetypeStr { get; set; }
public string sceneidStr { get; set; }
public string zhiboLink { get; set; }
}
public class LivePlanInfoDto : LivePlanResponseDto
{
///
/// 日志
///
public List LiveLogs { get; set; }
}
public class LiveSystemPlanLogDto
{
public int id { get; set; }
///
/// 说明
///
public string memo { get; set; }
///
/// 创建时间
///
public DateTime? Ctime { get; set; }
///
/// 状态
///
public int? status { get; set; }
///
/// 操作
///
public string operation { get; set; }
public string operatorname { get; set; }
public DateTime ctime { get; set; }
}
public class LivePlanAuditDto
{
///
/// 源id
///
public int? PlanId { get; set; }
///
/// 1、报备 2、检查 3、质检
///
public int? CheckType { get; set; }
///
/// 状态
///
public int? Status { get; set; }
///
/// 评论
///
public string Memo { get; set; }
///
/// 操作人工号
///
public int? OperatorId { get; set; }
///
/// 操作人名称
///
public string OperatorName { get; set; }
///
/// 源类型: 讲师 = 1,直播计划 = 2,资讯 = 3,聊天室 = 4
///
public int? sourcetype { get; set; }
}
public enum ComplianceCheckSourceType
{
讲师 = 1,
直播计划 = 2,
资讯 = 3,
聊天室 = 4
}
//事前报备
public enum ComplianceCheckBeforeStatus
{
终止 = -100,
新增 = 10,
变更 = 20,
驳回 = 40,
提审 = 60,
通过 = 100,
}
//事中检查:
public enum ComplianceCheckDuringStatus
{
未检 = 0,
正常 = 100,
瑕疵 = 110,
未直播 = 120
}
//事后质检
public enum ComplianceCheckAfterStatus
{
未录 = 0,
已录 = 10,
驳回 = 40,
提审 = 60,
通过 = 100,
瑕疵 = 110,
违规 = 120,
}
}