package com.huimv.employment.service.notification.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;

@Schema(description = "消息与待办列表项")
public class NotificationItemResponse {

    @JsonProperty("id")
    private Long id;

    @JsonProperty("enterprise_id")
    private Long enterpriseId;

    @JsonProperty("notify_type")
    @Schema(description = "pending / error / info / success", example = "pending")
    private String notifyType;

    @JsonProperty("category")
    @Schema(description = "settlement / registration / verify / workflow", example = "settlement")
    private String category;

    @JsonProperty("title")
    private String title;

    @JsonProperty("content")
    private String content;

    @JsonProperty("biz_type")
    private String bizType;

    @JsonProperty("biz_id")
    private Long bizId;

    @JsonProperty("biz_no")
    private String bizNo;

    @JsonProperty("action_url")
    private String actionUrl;

    @JsonProperty("read_flag")
    private Boolean readFlag;

    @JsonProperty("handled_flag")
    private Boolean handledFlag;

    @JsonProperty("create_time")
    private LocalDateTime createTime;

    @JsonProperty("read_time")
    private LocalDateTime readTime;

    @JsonProperty("handled_time")
    private LocalDateTime handledTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getNotifyType() {
        return notifyType;
    }

    public void setNotifyType(String notifyType) {
        this.notifyType = notifyType;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getBizType() {
        return bizType;
    }

    public void setBizType(String bizType) {
        this.bizType = bizType;
    }

    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public String getBizNo() {
        return bizNo;
    }

    public void setBizNo(String bizNo) {
        this.bizNo = bizNo;
    }

    public String getActionUrl() {
        return actionUrl;
    }

    public void setActionUrl(String actionUrl) {
        this.actionUrl = actionUrl;
    }

    public Boolean getReadFlag() {
        return readFlag;
    }

    public void setReadFlag(Boolean readFlag) {
        this.readFlag = readFlag;
    }

    public Boolean getHandledFlag() {
        return handledFlag;
    }

    public void setHandledFlag(Boolean handledFlag) {
        this.handledFlag = handledFlag;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getReadTime() {
        return readTime;
    }

    public void setReadTime(LocalDateTime readTime) {
        this.readTime = readTime;
    }

    public LocalDateTime getHandledTime() {
        return handledTime;
    }

    public void setHandledTime(LocalDateTime handledTime) {
        this.handledTime = handledTime;
    }
}
