/*
 * Copyright 2021 Tianmian Tech. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.welab.wefe.common.data.mongodb.entity.union;

import com.welab.wefe.common.data.mongodb.constant.MongodbTable;
import com.welab.wefe.common.data.mongodb.entity.base.AbstractBlockChainBusinessModel;
import com.welab.wefe.common.data.mongodb.entity.union.ext.MemberFileInfoExtJSON;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author yuxin.zhang
 **/
@Document(collection = MongodbTable.Union.MEMBER_FILE_INFO)
public class MemberFileInfo extends AbstractBlockChainBusinessModel {
    private String fileId;
    private String fileSign;
    private String fileName;
    private String fileSize;
    private String memberId;
    private String blockchainNodeId;
    private String rurpose;
    private String filePublicLevel;
    private String describe;
    private String enable = "1";
    private MemberFileInfoExtJSON extJson = new MemberFileInfoExtJSON();

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileSign() {
        return fileSign;
    }

    public void setFileSign(String fileSign) {
        this.fileSign = fileSign;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getBlockchainNodeId() {
        return blockchainNodeId;
    }

    public void setBlockchainNodeId(String blockchainNodeId) {
        this.blockchainNodeId = blockchainNodeId;
    }

    public String getRurpose() {
        return rurpose;
    }

    public void setRurpose(String rurpose) {
        this.rurpose = rurpose;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getFilePublicLevel() {
        return filePublicLevel;
    }

    public void setFilePublicLevel(String filePublicLevel) {
        this.filePublicLevel = filePublicLevel;
    }

    public MemberFileInfoExtJSON getExtJson() {
        return extJson;
    }

    public void setExtJson(MemberFileInfoExtJSON extJson) {
        this.extJson = extJson;
    }
}
