package com.njcn.csdevice.pojo.po;

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 java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.njcn.db.bo.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * Description:
 * Date: 2024/10/15  10:43【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@NoArgsConstructor
@TableName(value = "portable_off_main_log")
public class PortableOffMainLog extends BaseEntity {
    /**
     * 批次id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 导入开始时间
     */
    @TableField(value = "start_time")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private LocalDateTime startTime;

    /**
     * 工程名称
     */
    @TableField(value = "project_name")
    private String projectName;

    /**
     * 导入结束时间
     */
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @TableField(value = "end_time")
    private LocalDateTime endTime;

    /**
     * 成功解析数
     */
    @TableField(value = "success_count")
    private Integer successCount;

    /**
        * 状态(0：删除 1：正常)
     */
    @TableField(value = "status")
    private String status;

    @TableField(exist = false)
    private List<PortableOfflLog> portableOfflLogList;

}