package com.xueyi.system.digitalmans.domain.po;

import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.common.core.constant.basic.EntityConstants.SORT;
import static com.xueyi.common.core.constant.basic.EntityConstants.REMARK;

/**
 * 播报 持久化对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "dm_broadcast", excludeProperty = { SORT, REMARK })
public class DmBroadcastPo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 使用状态 */
    @Excel(name = "使用状态")
    protected String status;

    /** 资源类型 */
    @Excel(name = "资源类型")
    protected Integer type;

    /** 循环播报（0:不循环；1:循环） */
    @Excel(name = "循环播报", readConverterExp = "0=:不循环；1:循环")
    protected Integer recycle;

    /** 语速（0:不播报；1:缓慢；2:默认；3:快速） */
    @Excel(name = "语速", readConverterExp = "0=:不播报；1:缓慢；2:默认；3:快速")
    protected Integer speed;

    protected Long manId;

}