package com.zksy.dispatch.domain;

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 io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 催办明细表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dis_event_urge_detail", schema = "app_user")
public class DisEventUrgeDetail {

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

    @ApiModelProperty("关联催办ID")
    private Long urgeId;

    @ApiModelProperty("事件编号")
    private String eventNo;

    @ApiModelProperty("催办方式：电话/短信/系统消息")
    private String method;

    @ApiModelProperty("催办内容")
    private String content;

    @ApiModelProperty("结果：已反馈/未反馈")
    private String result;

    @ApiModelProperty("催办时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime urgeTime;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}
