package com.sundot.airport.ledger.domain;

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

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 com.sundot.airport.common.annotation.Excel;
import com.sundot.airport.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 站级时间段别总过检对象 operation_station_hourly_throughput
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("operation_station_hourly_throughput")
public class OperationStationHourlyThroughput extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 区域ID */
    private Long areaId;

    /** 部门ID */
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 队室/班组ID */
    private Long teamId;

    /** 队室/班组 */
    @Excel(name = "队室/班组")
    private String teamName;

    /** 通道/小组ID */
    private Long groupId;

    /** 通道/小组 */
    @Excel(name = "通道/小组")
    private String groupName;

    /** 通道号 */
    @Excel(name = "通道号")
    private String laneId;

    /** 记录日期（yyyy-MM-dd） */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录日期", width = 20, dateFormat = "yyyy-MM-dd")
    private Date recordDate;

    /** 小时（0:00、1:00、2:00等） */
    @Excel(name = "小时")
    private String hourOfDay;

    /** 过检人数 */
    @Excel(name = "过检人数")
    private Integer throughput;

    /** 过检率 */
    @Excel(name = "过检率")
    private BigDecimal throughputRate;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 删除标志(0正常 2删除) */
    private String delFlag;
}
