package com.ruoyi.oa.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
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 com.ruoyi.common.core.domain.BaseEntity;

/**
 * 付款账户管理业务对象 sys_oa_receive_account
 *
 * @author hdka
 * @date 2024-11-02
 */

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

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long receiveAccountId;

    /**
     * 收款账户名
     */
    @NotBlank(message = "收款账户名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String receiveAccountName;

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


    /**
     * 父节点
     */
    @ExcelProperty(value = "父节点")
    private Long parentId;

    /**
     * 余额
     */
    private Double balance;


}
