package com.ruoyi.dk.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 借款状态对象 dk_borrow_status
 *
 * @author duteliang
 * @date 2023-11-29
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("dk_borrow_status")
@Schema(description = "借款状态添加对象")
public class BorrowStatus implements Serializable {

    private static final long serialVersionUID=1L;


    /** ID */
    @TableId(value = "id")
    @Schema(description = "ID")
    private Long id;

    /** 是否可以打款 */
    @Schema(description = "是否可以打款")
    private Integer usedRemit;

    @Schema(description = "借款状态编码")
    private String borrowCode;

    @Schema(description = "是否允许提现")
    private Boolean withdrawFlag;

    /** 借款状态 */
    @Schema(description = "借款状态")
    private String borrowName;

    /** 借款说明 */
    @Schema(description = "借款说明")
    private String borrowRemark;

    @Schema(description = "借款样式")
    private String borrowNameStyle;

    /** 创建时间 */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建时间")
    private Date createTime;

    /** 修改时间 */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description = "修改时间")
    private Date updateTime;

    private String tenantId;

}
