package com.engine.salary.entity.datacollection.po;

import com.engine.hrmelog.annotation.ElogTransform;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collection;
import java.util.Date;

/**
 * 考勤引用表
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//hrsa_attend_quote
@ElogTransform(name = "考勤数据")
public class AttendQuotePO {
    /**
     * 主键
     */
    @ElogTransform(name = "主键")
    private Long id;
    /**
     * 税款所属期
     */
    @ElogTransform(name = "税款所属期")
    private Date salaryYearMonth;
    /**
     * 年份
     */
    @ElogTransform(name = "年份")
    private Integer year;

    /**
     * 月份
     */
    @ElogTransform(name = "月份")
    private Integer month;

    /**
     * 薪资账套表的主键id
     */
    @ElogTransform(name = "薪资账套id")
    private Long salarySobId;

    /**
     * 来源。1：引用、2：导入
     */
    @ElogTransform(name = "来源")
    private Integer sourceType;

    /**
     * 薪资核算状态。0：未核算、1：已核算
     */
    @ElogTransform(name = "薪资核算状态")
    private Integer salaryAccountingStatus;

    /**
     * 考勤周期
     */
    @ElogTransform(name = "考勤周期")
    private String attendCycle;

    /**
     * 薪资周期
     */
    @ElogTransform(name = "薪资周期")
    private String salaryCycle;

    /**
     * 备注
     */
    @ElogTransform(name = "备注")
    private String description;

    /**
     * 创建时间
     */
    @ElogTransform(name = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ElogTransform(name = "更新时间")
    private Date updateTime;

    /**
     * 创建人
     */
    @ElogTransform(name = "创建人")
    private Long creator;

    /**
     * 是否已删除。0：未删除、1：已删除
     */
    private Integer deleteType;

    /**
     * 租户ID
     */
    @ElogTransform(name = "租户")
    private String tenantKey;

    //主键id
    private Collection<Long> ids;

}