package com.ruoyi.iot.domain;

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

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("t_charge_record")
public class TChargeRecord implements Serializable {
    /** 数据idID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long Id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    /** 用户ID */
    private Long userId;

    /** 设备编号 */
    private String deviceId;

    /** 状态 */
    private Long status;

    /** 备注信息 */
    private String charge_desc;
}
