package com.hotent.project.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hotent.base.entity.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *@author: zhao yue yue
 *@create: 2025-11-18 10:21
 */
@ApiModel(value = "CostProjectSuperviseData", description = "督办记录表")
@TableName(value ="cost_project_supervise_data")
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
public class CostProjectSuperviseData extends BaseModel<CostProjectSuperviseData> implements Serializable {

    private static final long serialVersionUID = 21L;

    @ApiModelProperty(value = "【系统标记】主键ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(value = "id")
    private String id;
    @ApiModelProperty(value = "项目id")
    @TableField(value = "project_id")
    private String projectId;
    @ApiModelProperty(value = "督办id")
    @TableField(value = "supervise_id")
    private String superviseId;
    @ApiModelProperty(value = "报告时间")
    @TableField(value = "report_time")
    private LocalDateTime reportTime;
    @ApiModelProperty(value = "督促内容")
    @TableField(value = "report_content")
    private String reportContent;
    @ApiModelProperty(value = "附件id")
    @TableField(value = "attachment_ids")
    private String attachmentIds;
    @ApiModelProperty(value = "逻辑删除：0正常 1已删除")
    @TableField(value = "is_deleted")
    private Integer isDeleted;
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "创建人名称")
    @TableField(value = "create_by")
    private String createBy;
    @ApiModelProperty(value = "创建人ID")
    @TableField(value = "create_id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private String createId;
    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
    @TableField(value = "update_by")
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    @TableField(value = "update_id")
    @ApiModelProperty(value = "更新人ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private String updateId;
}
