package com.bonus.sharedstation.web.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 急救知识 实体类
 *
 * @author 云归
 * @date 2024-11-14
 */
@Data
@TableName("yz_first_aid_info")
public class FirstAidInfo implements java.io.Serializable {

    /**
     * 序列化版本号
     */
    private static final long serialVersionUID = -8270716895549511778L;

    private Integer id;
    /**
     * 急救知识信息
     */
    private String firstAidName;
    /**
     * 视频 Url
     */
    private String videoUrl;
    /**
     * 急救知识介绍
     */
    private String instruction;
    /**
     * 发布状态，1表示已发布，0表示未发布
     */
    private String publishStatus;
    /**
     * 图标地址
     */
    private String logoAddress;
    /**
     * 背景图地址
     */
    private String backGroundAddress;

    /**
     * 创建人
     */
    private String createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;
    private String updatedBy;
    private String isDeleted;


    @TableField(exist = false)
    private List<OperationStep> steps;
}
