package com.sundot.airport.ledger.domain;

import java.util.Date;
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 com.sundot.airport.common.annotation.Excel;
import com.sundot.airport.common.core.domain.BaseEntity;

@TableName("ledger_dorm_fire_safety")
public class LedgerDormFireSafety extends BaseEntity {
    private static final long serialVersionUID = 1L;

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

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查日期", width = 15, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    @Excel(name = "寝室所在位置")
    private String dormLocation;

    @Excel(name = "寝室号")
    private String dormNo;

    @Excel(name = "自查覆盖项", width = 40)
    private String checkItems;

    @Excel(name = "风险类型排查情况", width = 40)
    private String riskStatus;

    @Excel(name = "发现具体隐患", width = 30)
    private String foundRisk;

    @Excel(name = "照片")
    private String photos;

    @Excel(name = "整改责任人")
    private String rectifyPerson;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改完成时间", width = 15, dateFormat = "yyyy-MM-dd")
    private Date rectifyTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date submitTime;

    @Excel(name = "提交人")
    private String submitter;

    private String importBatch;
    private String sourceType;

    @Excel(name = "同步标志(0=未同步;1=已同步)")
    private String syncFlag;

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

    public Date getCheckDate() { return checkDate; }
    public void setCheckDate(Date checkDate) { this.checkDate = checkDate; }

    public String getDormLocation() { return dormLocation; }
    public void setDormLocation(String dormLocation) { this.dormLocation = dormLocation; }

    public String getDormNo() { return dormNo; }
    public void setDormNo(String dormNo) { this.dormNo = dormNo; }

    public String getCheckItems() { return checkItems; }
    public void setCheckItems(String checkItems) { this.checkItems = checkItems; }

    public String getRiskStatus() { return riskStatus; }
    public void setRiskStatus(String riskStatus) { this.riskStatus = riskStatus; }

    public String getFoundRisk() { return foundRisk; }
    public void setFoundRisk(String foundRisk) { this.foundRisk = foundRisk; }

    public String getPhotos() { return photos; }
    public void setPhotos(String photos) { this.photos = photos; }

    public String getRectifyPerson() { return rectifyPerson; }
    public void setRectifyPerson(String rectifyPerson) { this.rectifyPerson = rectifyPerson; }

    public Date getRectifyTime() { return rectifyTime; }
    public void setRectifyTime(Date rectifyTime) { this.rectifyTime = rectifyTime; }

    public Date getSubmitTime() { return submitTime; }
    public void setSubmitTime(Date submitTime) { this.submitTime = submitTime; }

    public String getSubmitter() { return submitter; }
    public void setSubmitter(String submitter) { this.submitter = submitter; }

    public String getImportBatch() { return importBatch; }
    public void setImportBatch(String importBatch) { this.importBatch = importBatch; }

    public String getSourceType() { return sourceType; }
    public void setSourceType(String sourceType) { this.sourceType = sourceType; }

    public String getSyncFlag() { return syncFlag; }
    public void setSyncFlag(String syncFlag) { this.syncFlag = syncFlag; }
}
