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;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 网上开户配置表
14.wskh_openaccountconfig.sql 脚本初始化
 * </p>
 *
 * @author XKF
 * @since 2024-06-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WSKH_OPENACCOUNTCONFIG")
@ApiModel(value="WskhOpenaccountconfig对象", description="网上开户配置表 14.wskh_openaccountconfig.sql 脚本初始化")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WskhOpenaccountconfig extends Model<WskhOpenaccountconfig> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "配置ID")
    @TableId(value = "CONFIGID")
    private Long configid;

    @ApiModelProperty(value = "配置类型")
    @TableField("CONFIGTYPE")
    private Integer configtype;

    @ApiModelProperty(value = "配置值")
    @TableField("CONFIGVALUE")
    private String configvalue;

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

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATETIME")
    private Date createtime;

    @ApiModelProperty(value = "修改时间")
    @TableField("MODIFIEDTIME")
    private Date modifiedtime;

    @ApiModelProperty(value = "修改人帐号")
    @TableField("MODIFIEDBY")
    private BigDecimal modifiedby;


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

}
