package com.njcn.harmonic.pojo.po.upload;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * pqs
 *
 * @author cdf
 * @date 2024/4/17
 */
@TableName(value = "pms_run_statistic_y")
@Data
public class PmsRunStatisticY {

    /**
     *
     */
    @MppMultiId
    private LocalDate statisticDate;

    @MppMultiId
    private String deptId;

    private String runMonitorIds;

    private String onlineMonitorIds;

    private String runBusIds;

    private Integer runBusNum;

    private String onlineBusIds;

    private String onlineBusMidIds;

    private String runDevIds;

    private String runStationIds;

    private Integer runStationNum;

    private String onlineStationIds;

    private String typicalOnlineIds;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime createTime;



}
