package com.pwt.web.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pwt.common.annotation.Excel;
import com.pwt.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 电池管理对象 pwt_battery
 * 
 * @author linyun
 * @date 2022-11-17
 */
@Getter
@Setter
@ToString
@ApiModel("电池管理")
public class PwtBattery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 电池id */
    @ApiModelProperty("电池id")
    private Long batteryId;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty("名称")
    private String batteryName;

    /** 电池类型 */
    @Excel(name = "电池类型")
    @ApiModelProperty("电池类型")
    private String batteryType;

    /** 电池厂商 */
    @Excel(name = "电池厂商")
    @ApiModelProperty("电池厂商")
    private String batteryFactory;

    /** 电池组序号 */
    @Excel(name = "电池组序号")
    @ApiModelProperty("电池组序号")
    private String batterySerial;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("生产日期")
    private Date productionTime;

    /** vin */
    @Excel(name = "vin")
    @ApiModelProperty("vin")
    private String vin;

}
