package com.engine.salary.entity.push.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;
import java.util.List;

/**
 * 数据推送配置
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PushSettingPO {

    @ElogTransform(name = "")
    private Long id;

    /**
     * 是否启用，0否 1是
     */
    @ElogTransform(name = "是否启用，0否 1是")
    private Integer able;


    @ElogTransform(name = "任务名称")
    private String name;

    /**
     * 薪资帐套集合
     */
    @ElogTransform(name = "薪资帐套集合")
    private List<Long> salarySobIds;

    /**
     * 建模id
     */
    @ElogTransform(name = "建模id")
    private Integer modeId;

    /**
     * 模块名称
     */
    @ElogTransform(name = "模块名称")
    private String modeName;

    /**
     * 数据库表
     */
    @ElogTransform(name = "数据库表")
    private String tableName;

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

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

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

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

    /**
     * 是否已删除。0：未删除、1：已删除
     */
    @ElogTransform(name = "是否已删除。0：未删除、1：已删除")
    private Integer deleteType;


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

}