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.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 薪水详情业务对象 oa_salary_item
 *
 * @author hdka
 * @date 2025-03-06
 */

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

    /**
     * 主键id
     */
    private Long salaryItemId;

    /**
     * 奖惩类型
     */
    private Long type;

    /**
     * 理由
     */
    private String reason;

    /**
     * 涉及金额
     */
    private Double price;

    /**
     * 奖罚记号1奖0罚
     */
    private Long flag;

    /**
     * 外键id
     */
    private Long salaryId;

    /**
     * 涉及日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date signTime;

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


}
