package com.fdkankan.platform.goods.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 相机主表
 * </p>
 *
 * @author 
 * @since 2021-12-24
 */
@Getter
@Setter
@ToString
@TableName("t_camera")
public class Camera implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 相机的Mac地址
     */
    @TableField("child_name")
    private String childName;

    /**
     * 激活时间
     */
    @TableField("activated_time")
    private Date activatedTime;

    /**
     * 相机密码
     */
    @TableField("child_password")
    private String childPassword;

    /**
     * sn码
     */
    @TableField("sn_code")
    private String snCode;

    /**
     * wifi名称
     */
    @TableField("wifi_name")
    private String wifiName;

    /**
     * wifi密码
     */
    @TableField("wifi_password")
    private String wifiPassword;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 0正常，1删除
     */
    @TableField("tb_status")
    @TableLogic(value="0",delval = "1")
    private Integer tbStatus;


}
