package com.ruoyi.oa.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 薪资模板明细业务对象 oa_salary_template_detail
 *
 * @author ruoyi
 * @date 2025-06-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class OaSalaryTemplateDetailBo extends BaseEntity {

    /**
     * 明细ID
     */
    private Long salaryDetailId;

    /**
     * 模板ID → oa_salary_template.salary_template_id
     */
    private Long salaryTemplateId;

    /**
     * 项目代码，如 basic_salary…
     */
    private String salaryItem;

    /**
     * 固定金额，仅针对金额项
     */
    private BigDecimal amount;

    /**
     * 费率，仅针对费率项
     */
    private BigDecimal rate;

    /**
     * 备注
     */
    private String remark;


}
