package com.hotent.project.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hotent.base.entity.BaseModel;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
 * 监审项目备忘录表
 *
 * @company 山西清众科技股份有限公司
 * @author 超级管理员
 * @since 2025-09-25
 */
@ApiModel(value="CostProjectMemo对象", description="监审项目备忘录表")
public class CostProjectMemo extends BaseModel<CostProjectMemo> {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "备忘录ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    
    @ApiModelProperty(value = "关联的成本监审项目ID")
    @TableField("project_id")
    private String projectId;
    
    @ApiModelProperty(value = "备忘录标题")
    @TableField("title")
    private String title;
    
    @ApiModelProperty(value = "备忘录内容")
    @TableField("content")
    private String content;
    
    @ApiModelProperty(value = "备忘录日期,格式：yyyy-MM-dd")
    @TableField("memo_date")
    private LocalDate memoDate;
    
    @ApiModelProperty(value = "时间段，格式：hh:mm-hh:mm")
    @TableField("time_period")
    private String timePeriod;
    
    @ApiModelProperty(value = "提醒类型：不提醒/提前1小时/提前2小时/提前3小时/提前1天/提前2天/提前3天")
    private String reminderType;
    
    @ApiModelProperty(value = "附件URL")
    private String attachmentUrl;
    
    @ApiModelProperty(value = "附件名称")
    private String attachmentName;
    
    @ApiModelProperty(value = "附件大小(字节)")
    private Integer attachmentSize;
    
    @ApiModelProperty(value = "区域编码")
    private String areaCode;
    
    @ApiModelProperty(value = "区域级别")
    private String areaLevel;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonProperty("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "create_by", fill = FieldFill.INSERT)
    @JsonProperty("createBy")
    private String createBy;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @JsonProperty("updateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    @JsonProperty("updateBy")
    private String updateBy;
    
    @ApiModelProperty(value = "成本监审任务")
    @TableField("task")
    @JsonProperty("task")
    private String task;


    public String getId() {
        return id;
    }

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

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    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 LocalDate getMemoDate() {
        return memoDate;
    }

    public void setMemoDate(LocalDate memoDate) {
        this.memoDate = memoDate;
    }
    public String getTimePeriod() {
        return timePeriod;
    }

    public void setTimePeriod(String timePeriod) {
        this.timePeriod = timePeriod;
    }
    public String getReminderType() {
        return reminderType;
    }

    public void setReminderType(String reminderType) {
        this.reminderType = reminderType;
    }
    public String getAttachmentUrl() {
        return attachmentUrl;
    }

    public void setAttachmentUrl(String attachmentUrl) {
        this.attachmentUrl = attachmentUrl;
    }
    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName;
    }
    public Integer getAttachmentSize() {
        return attachmentSize;
    }

    public void setAttachmentSize(Integer attachmentSize) {
        this.attachmentSize = attachmentSize;
    }
    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }
    public String getAreaLevel() {
        return areaLevel;
    }

    public void setAreaLevel(String areaLevel) {
        this.areaLevel = areaLevel;
    }


    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

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

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public String getTask() {
        return task;
    }

    public void setTask(String task) {
        this.task = task;
    }


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CostProjectMemo{" +
            "id=" + id +
            ", projectId=" + projectId +
            ", title=" + title +
            ", content=" + content +
            ", memoDate=" + memoDate +
            ", timePeriod=" + timePeriod +
            ", reminderType=" + reminderType +
            ", attachmentUrl=" + attachmentUrl +
            ", attachmentName=" + attachmentName +
            ", attachmentSize=" + attachmentSize +
            ", areaCode=" + areaCode +
            ", areaLevel=" + areaLevel +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", task=" + task +
        "}";
    }
}
