package com.muchinfo.mtp3pojos.entity;

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 com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 银行系统配置表
 * </p>
 *
 * @author XKF
 * @since 2024-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("BANK_SYSTEMCONFIG")
@ApiModel(value="BankSystemconfig对象", description="银行系统配置表")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BankSystemconfig extends Model<BankSystemconfig> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "参数ID")
    @TableId(value = "CONFIGID")
    private Integer configid;

    @ApiModelProperty(value = "参数代码")
    @TableField("CONFIGCODE")
    private String configcode;

    @ApiModelProperty(value = "参数值")
    @TableField("CONFIGVALUE")
    private String configvalue;

    @ApiModelProperty(value = "有效状态 - 0:无效   1:有效")
    @TableField("VALIDSTATUS")
    private Integer validstatus;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;


    @Override
    public Serializable pkVal() {
        return this.configid;
    }

}
