package com.fs.sop.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fs.common.annotation.Excel;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * sop任务模板规则对象 qw_sop_temp_rules
 *
 * @author fs
 * @date 2025-02-06
 */
@Data
public class QwSopTempRules{

    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 模板ID */
    @Excel(name = "模板ID")
    private String tempId;

    private Long dayId;

    /** 内容名称 */
    @Excel(name = "内容名称")
    private String name;

    /** 发送时间 */
    @Excel(name = "发送时间")
    private String time;
    /**是否官方群发 */
    private String isOfficial;

    /** 消息类别;（1普通，2课程，3订单，4AI触达） */
    @Excel(name = "消息类别;", readConverterExp = "1=普通，2课程，3订单，4AI触达")
    private Integer contentType;
    private Integer type;
    /** 消息类型 */
    @Excel(name = "消息类型")
    private Integer courseType;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 视屏ID */
    @Excel(name = "视屏ID")
    private Long videoId;

    /** Ai触达类型 */
    @Excel(name = "Ai触达类型")
    private String aiTouch;

    @Excel(name = "添加标签")
    private String addTag;

    @Excel(name = "删除标签")
    private String delTag;
    /** 排序 */
    @Excel(name = "排序")
    private Integer sorts;

    @TableField(exist = false)
    private List<QwSopTempContent> settingList;
    @TableField(exist = false)
    private List<Object> setting;

    @TableField(exist = false)
    private List<QwSopTempContent> list = new ArrayList<>();

    @TableField(exist = false)
    private Integer dayNum;
}
