package com.sptg.device.api.entity;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sptg.common.core.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@TableName(value = "flow_card_device")
public class FlowCardDevice extends BaseEntity {


    /**
     * 设备id
     */
    @TableField(value = "l_device_id")
    private Long deviceId;

    /**
     * 流量卡id
     */
    @TableField(value = "l_flow_card_id")
    private Long flowCardId;

    /**
     * 创建人id
     */
    @TableField(value = "l_create_account_id")
    private Long createAccountId;

    /**
     * 创建时间
     */
    @TableField(value = "t_updata_date")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updataDate;
}
