package com.jeequan.jeepay.db.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.jeequan.jeepay.core.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 应用与进件数据的关联表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_mch_app_applyment")
public class MchAppApplyment extends BaseModel {

    public static final LambdaQueryWrapper<MchAppApplyment> gw(){
        return new LambdaQueryWrapper<>();
    }
    /**
     * 商户号
     */
    private String mchNo;
    /**
     * 应用号
     */
    private String mchAppId;
    /**
     * 商户入网申请单号
     */
    private String mchApplyId;
    /**
     * 微信支付交易权重
     */
    private Integer wxWeight;
    /**
     * 支付宝支付交易权重
     */
    private Integer aliWeight;
    /**
     *银联支付交易权重
     */
    private Integer ysfWeight;
    /**
     *状态。0：未生效；1：已生效；
     */
    private Integer status;
    /**
     *备注信息
     */
    private String remark;
    /**
     *创建时间
     */
    private Date createdAt;
    /**
     *更新时间
     */
    private Date updatedAt;
    /**
     * 应用名称
     */
    @TableField(exist = false)
    private String appName;
    /**
     * 商户简称
     */
    @TableField(exist = false)
    private String mchShortName;
}
