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

import java.time.LocalDateTime;
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.DmApkVersionDto;
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.STATUS;
import static com.xueyi.common.core.constant.basic.EntityConstants.DEL_FLAG;
import static com.xueyi.common.core.constant.basic.EntityConstants.REMARK;
import static com.xueyi.common.core.constant.basic.EntityConstants.NAME;

/**
 * 版本管理 持久化对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "dm_apk_version", excludeProperty = { STATUS, DEL_FLAG, REMARK, NAME })
public class DmApkVersionPo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /** 版本安装路径 */
    @Excel(name = "版本安装路径")
    protected String path;

    /** 版本更新说明 */
    @Excel(name = "版本更新说明")
    protected String comment;

    /** 发布时间 */
    @Excel(name = "发布时间")
    protected LocalDateTime releaseTime;

}