package com.yd.csf.service.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 薪资汇款明细表
 * </p>
 *
 * @author zxm
 * @since 2026-05-08
 */
@Getter
@Setter
@TableName("salary_remittance")
public class SalaryRemittance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 薪资汇款明细表唯一业务ID
     */
    @TableField("salary_remittance_biz_id")
    private String salaryRemittanceBizId;

    /**
     * 薪资单表唯一业务ID
     */
    @TableField("salary_biz_id")
    private String salaryBizId;

    /**
     * 收款银行ID
     */
    @TableField("bank")
    private String bank;

    /**
     * 收款银行名称
     */
    @TableField("bank_name")
    private String bankName;

    /**
     * 账户尾号
     */
    @TableField("account_end_no")
    private String accountEndNo;

    /**
     * 汇款币种
     */
    @TableField("currency")
    private String currency;

    /**
     * 汇款金额
     */
    @TableField("amount")
    private BigDecimal amount;

    /**
     * 汇率
     */
    @TableField("exchange_rate")
    private BigDecimal exchangeRate;

    /**
     * 通用备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 删除标识: 0-正常, 1-删除
     */
    @TableField("is_deleted")
    private Integer isDeleted;

    /**
     * 创建人ID
     */
    @TableField("creator_id")
    private String creatorId;

    /**
     * 创建人名称
     */
    @TableField("creator_name")
    private String creatorName;

    /**
     * 更新人ID
     */
    @TableField("updater_id")
    private String updaterId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;
}
