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_terminal_bonus
 */
@TableName("ledger_terminal_bonus")
public class LedgerTerminalBonus extends BaseEntity {
    private static final long serialVersionUID = 1L;

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

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

    private Long deptId;

    private String teamName;

    private Long teamId;

    private String groupName;

    private Long groupId;

    @Excel(name = "姓名")
    private String personName;

    private Long personId;

    @Excel(name = "所属航站楼")
    private String terminalBuilding;

    @Excel(name = "记分值")
    private BigDecimal addScore;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记分日期", width = 20, dateFormat = "yyyy-MM-dd")
    private Date scoreDate;

    @Excel(name = "捡到物品金额")
    private BigDecimal itemAmount;

    @Excel(name = "记分条款")
    private String scoreClause;

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

    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 String getDeptName() { return deptName; }
    public void setDeptName(String deptName) { this.deptName = deptName; }

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

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

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

    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 String getPersonName() { return personName; }
    public void setPersonName(String personName) { this.personName = personName; }

    public Long getPersonId() { return personId; }
    public void setPersonId(Long personId) { this.personId = personId; }

    public String getTerminalBuilding() { return terminalBuilding; }
    public void setTerminalBuilding(String terminalBuilding) { this.terminalBuilding = terminalBuilding; }

    public BigDecimal getAddScore() { return addScore; }
    public void setAddScore(BigDecimal addScore) { this.addScore = addScore; }

    public Date getScoreDate() { return scoreDate; }
    public void setScoreDate(Date scoreDate) { this.scoreDate = scoreDate; }

    public BigDecimal getItemAmount() { return itemAmount; }
    public void setItemAmount(BigDecimal itemAmount) { this.itemAmount = itemAmount; }

    public String getScoreClause() { return scoreClause; }
    public void setScoreClause(String scoreClause) { this.scoreClause = scoreClause; }

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

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