package com.ruoyi.finance.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;

/**
 * 劳务费业务对象 finance_service_fee
 *
 * @author ruoyi
 * @date 2024-06-16
 */

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

    /**
     * 劳务费ID
     */
    @NotNull(message = "劳务费ID不能为空", groups = { EditGroup.class })
    private Long serviceFeeId;

    /**
     * 姓名
     */
    @NotBlank(message = "姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 应发金额
     */
    @NotNull(message = "应发金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal payableAmount;

    /**
     * 个人所得税
     */
    @NotNull(message = "个人所得税不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal tax;

    /**
     * 实发金额
     */
    @NotNull(message = "实发金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long paidAmount;

    /**
     * 身份证
     */
    @NotBlank(message = "身份证不能为空", groups = { AddGroup.class, EditGroup.class })
    private String cardId;

    /**
     * 开户行
     */
    @NotBlank(message = "开户行不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bank;

    /**
     * 卡号
     */
    @NotBlank(message = "卡号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bankNo;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
