package com.ruoyi.dk.domain;

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 lombok.Data;

/**
 * 贷款设置
 * @TableName dk_loans_setting
 */
@TableName(value ="dk_loans_setting")
@Data
public class LoansSetting implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 贷款最小金额(元)
     */
    private BigDecimal loansMinAccount;

    /**
     * 贷款最大金额(元)
     */
    private BigDecimal loansMaxAccount;

    /**
     * 贷款初始金额(元)
     */
    private BigDecimal loansInitAccount;

    /**
     * 允许选择月份
     */
    private String loansMonth;

    /**
     * 初始选择月份
     */
    private String loansInitMonth;

    /**
     * 每月还款日
     */
    private Integer dueDate;

    /**
     * 服务费率
     */
    private String serviceRate;

    private String tenantId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
