package com.centreproject.system.domain.kpi.park;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;

/**
 * 园区活动实体类（对应表 park_events）
 * @author zhonglei.xu
 */
@Data
@TableName("park_events")
public class ParkEvents {

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

    @TableField(value = "event_title")
    private String eventTitle;

    @TableField(value = "event_description")
    private String eventDescription;

    @TableField(value = "start_date")
    private Date startDate;

    @TableField(value = "end_date")
    private Date endDate;

    @TableField(value = "venue")
    private String venue;

    @TableField(value = "event_image_url")
    private String eventImageUrl;

    // ---------- 额外添加的字段 ----------
    @TableField(value = "park_code")
    private String parkCode;

    @TableField(value = "synch_time")
    private Date synchTime;

    @TableField(value = "sync_trace_id")
    private String syncTraceId;

   @TableField(exist = false)
    private String time;
}