package com.fdkankan.ucenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 相机主表
 * </p>
 *
 * @author 
 * @since 2022-07-04
 */
@Getter
@Setter
@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 String 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 String createTime;

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

    /**
     * 记录的状态，A: 生效，I: 禁用
     */
    @TableField("rec_status")
    @TableLogic(value = "A",delval = "I")
    private String recStatus;


}
