package com.yeejoin.amos.boot.module.jxiop.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "station_qr_code_statistics", autoResultMap = true)
public class StationQrCodeStatistics extends BaseEntity{
    /**
     * 人员、任务、设备
     */
    @TableField("type")
    private String type;

    /**
     * 记录日期
     */
    @TableField("record_date")
    private Date recordDate;

    /**
     * 场站编码
     */
    @TableField("code")
    private String code;

    /**
     * 黄码数量
     */
    @TableField("yellow_num")
    private Integer yellowNum;

    /**
     * 红码数量
     */
    @TableField("red_num")
    private Integer redNum;

    /**
     * 绿码数量
     */
    @TableField("green_num")
    private Integer greenNum;

}
