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

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.web.entity.base.BaseEntity;
import com.xueyi.system.version.domain.dto.DmReleaseManagerDto;
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.REMARK;

/**
 * 发布管理 持久化对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "dm_man_device", excludeProperty = { REMARK })
public class DmReleaseManagerPo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 租户名 */
    @Excel(name = "租户名")
    protected String tenantName;

    /** 设备号 */
    @Excel(name = "设备号")
    protected String deviceId;

    /** 数字人编号 */
    @Excel(name = "数字人编号")
    protected String manCode;

    /** 激活日期 */
    @Excel(name = "激活日期")
    protected Date activateTime;

    /** 代码版本号 */
    @Excel(name = "代码版本号")
    protected String softwareVersion;

    /** 状态(0,未激活;1:在线;2:离线) */
    @Excel(name = "状态(0,未激活;1:在线;2:离线)")
    protected String onlineStatus;

    /** 租户id */
    @Excel(name = "租户id")
    protected Long tId;

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

    /** apk版本号 */
    @Excel(name = "apk版本号")
    protected String apkVersion;

    /** 安装状态 */
    @Excel
    protected Integer setupStatus;

}