package com.bs.tm.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 称重作业对象 tm_vehicle_weight
 *
 * @author bs
 * @date 2025-01-12
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tm_vehicle_weight")
@Data
public class TmVehicleWeight extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /** 流水号 */

    @Excel(name = "流水号")
    @ApiModelProperty(value = "流水号")
    private String seqNo;

    /** 主机编号 */

    @Excel(name = "主机编号")
    @ApiModelProperty(value = "主机编号")
    private String hostNo;

    /** 数据类型 */

    @Excel(name = "数据类型")
    @ApiModelProperty(value = "数据类型")
    private String dataType;

    /** 数据产生日期 */

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据产生日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "数据产生日期")
    private Date dataDate;

    /** 数据量 */

    @Excel(name = "数据量")
    @ApiModelProperty(value = "数据量")
    private BigDecimal workWt;

    /** 发送日期 */

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发送日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "发送日期")
    private Date sendTime;

    /** 接收日期 */

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接收日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "接收日期")
    private Date receiveTime;

    /** 作业港区 */

    @Excel(name = "作业港区")
    @ApiModelProperty(value = "作业港区")
    private String workArea;

    /** 备注 */

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;




}
