package com.engine.salary.entity.push.dto;

import com.engine.hrmelog.annotation.ElogTransform;
import com.engine.salary.annotation.TableTitle;
import com.engine.salary.entity.salarysob.po.SalarySobPO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

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

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



    @TableTitle(title = "任务名称", key = "name", dataIndex = "name")
    private String name;

    /**
     * 是否启用，0否 1是
     */
    @TableTitle(title = "是否启用", key = "able", dataIndex = "able")
    private Integer able;


    /**
     * 薪资帐套集合
     */
    @TableTitle(title = "薪资帐套集合", key = "salarySobs", dataIndex = "salarySobs")
    private List<SalarySobPO> salarySobs;

    /**
     * 建模id
     */
    @TableTitle(title = "建模id", key = "modeId", dataIndex = "modeId")
    private Integer modeId;

    /**
     * 模块名称
     */
    @TableTitle(title = "模块名称", key = "modeName", dataIndex = "modeName")
    private String modeName;

    /**
     * 数据库表
     */
    @TableTitle(title = "数据库表名", key = "tableName", dataIndex = "tableName")
    private String tableName;

}