package com.sundot.airport.ledger.domain;

import java.math.BigDecimal;
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;

/**
 * 不安全事件记录对象 ledger_unsafe_event
 */
@TableName("ledger_unsafe_event")
public class LedgerUnsafeEvent extends BaseEntity {
    private static final long serialVersionUID = 1L;

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

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事件日期", width = 20, dateFormat = "yyyy-MM-dd")
    private Date recordDate;

    @Excel(name = "航班号")
    private String flightNo;

    @Excel(name = "部门名称")
    private String deptName;

    @Excel(name = "队室/班组")
    private String teamName;

    @Excel(name = "队室内勤")
    private String teamInternalDuty;

    @Excel(name = "小组")
    private String groupName;

    private Long groupId;

    private Long deptId;

    private Long teamId;

    @Excel(name = "责任人")
    private String responsibleName;

    private Long responsibleId;

    @Excel(name = "事件类型")
    private String eventType;

    @Excel(name = "涉及物品")
    private String involvedItems;

    @Excel(name = "岗位")
    private String position;

    private Long positionId;

    @Excel(name = "区域")
    private String area;

    private Long areaId;

    @Excel(name = "通道号")
    private String channelNo;

    @Excel(name = "图像")
    private String image;

    @Excel(name = "事件描述")
    private String eventDesc;

    @Excel(name = "处理结果")
    private String resultHandling;

    @Excel(name = "扣分")
    private BigDecimal deductScore;

    @Excel(name = "佐证附件")
    private String evidenceFile;

    @Excel(name = "备注")
    private String remark;

    private String importBatch;

    @Excel(name = "数据来源")
    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 getRecordDate() { return recordDate; }
    public void setRecordDate(Date recordDate) { this.recordDate = recordDate; }

    public String getFlightNo() { return flightNo; }
    public void setFlightNo(String flightNo) { this.flightNo = flightNo; }

    public String getDeptName() { return deptName; }
    public void setDeptName(String deptName) { this.deptName = deptName; }

    public String getTeamName() { return teamName; }
    public void setTeamName(String teamName) { this.teamName = teamName; }

    public String getTeamInternalDuty() { return teamInternalDuty; }
    public void setTeamInternalDuty(String teamInternalDuty) { this.teamInternalDuty = teamInternalDuty; }

    public String getGroupName() { return groupName; }
    public void setGroupName(String groupName) { this.groupName = groupName; }

    public Long getGroupId() { return groupId; }
    public void setGroupId(Long groupId) { this.groupId = groupId; }

    public Long getDeptId() { return deptId; }
    public void setDeptId(Long deptId) { this.deptId = deptId; }

    public Long getTeamId() { return teamId; }
    public void setTeamId(Long teamId) { this.teamId = teamId; }

    public String getResponsibleName() { return responsibleName; }
    public void setResponsibleName(String responsibleName) { this.responsibleName = responsibleName; }

    public Long getResponsibleId() { return responsibleId; }
    public void setResponsibleId(Long responsibleId) { this.responsibleId = responsibleId; }

    public String getEventType() { return eventType; }
    public void setEventType(String eventType) { this.eventType = eventType; }

    public String getInvolvedItems() { return involvedItems; }
    public void setInvolvedItems(String involvedItems) { this.involvedItems = involvedItems; }

    public String getPosition() { return position; }
    public void setPosition(String position) { this.position = position; }

    public Long getPositionId() { return positionId; }
    public void setPositionId(Long positionId) { this.positionId = positionId; }

    public String getArea() { return area; }
    public void setArea(String area) { this.area = area; }

    public Long getAreaId() { return areaId; }
    public void setAreaId(Long areaId) { this.areaId = areaId; }

    public String getChannelNo() { return channelNo; }
    public void setChannelNo(String channelNo) { this.channelNo = channelNo; }

    public String getImage() { return image; }
    public void setImage(String image) { this.image = image; }

    public String getEventDesc() { return eventDesc; }
    public void setEventDesc(String eventDesc) { this.eventDesc = eventDesc; }

    public String getResultHandling() { return resultHandling; }
    public void setResultHandling(String resultHandling) { this.resultHandling = resultHandling; }

    public BigDecimal getDeductScore() { return deductScore; }
    public void setDeductScore(BigDecimal deductScore) { this.deductScore = deductScore; }

    public String getEvidenceFile() { return evidenceFile; }
    public void setEvidenceFile(String evidenceFile) { this.evidenceFile = evidenceFile; }

    public String getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }

    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; }
}
