package com.jsowell.pile.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jsowell.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 充电站鉴权卡对象 pile_auth_card
 *
 * @author jsowell
 * @date 2023-03-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PileAuthCard {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 逻辑卡号
     */
    @Excel(name = "逻辑卡号")
    private String logicCard;

    /**
     * 物理卡号
     */
    @Excel(name = "物理卡号")
    private String physicsCard;

    /**
     * 卡状态
     */
    @Excel(name = "卡状态")
    private String status;

    private String secretKey;

    /**
     * 所属用户的会员id
     */
    @Excel(name = "所属用户的会员id")
    private String memberId;

    /**
     * 删除标识（0-正常；1-删除）
     */
    private String delFlag;

    @JsonFormat( pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;

}
