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_reward_penalty
 */
@TableName("ledger_reward_penalty")
public class LedgerRewardPenalty 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 deptName;

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

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

    private Long personUserId;

    @Excel(name = "类型", readConverterExp = "1=奖励,2=惩处")
    private String type;

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

    @Excel(name = "罚款金额")
    private BigDecimal scoreChange;

    @Excel(name = "评分维度")
    private String scoreDimension;

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

    public Long getPersonUserId() { return personUserId; }
    public void setPersonUserId(Long personUserId) { this.personUserId = personUserId; }

    public String getType() { return type; }
    public void setType(String type) { this.type = type; }

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

    public BigDecimal getScoreChange() { return scoreChange; }
    public void setScoreChange(BigDecimal scoreChange) { this.scoreChange = scoreChange; }

    public String getScoreDimension() { return scoreDimension; }
    public void setScoreDimension(String scoreDimension) { this.scoreDimension = scoreDimension; }

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