package thyyxxk.webserver.entity.archive;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "archive_upload")
public class ArchiveUpload implements Serializable {

    private static final long serialVersionUID = 2139832499690335062L;

    /**
     * id
     */
    @TableId
    private String id;

    /**
     * name
     */
    @TableField(value = "name")
    private String name;

    /**
     * path
     */
    @TableField(value = "path")
    private String path;

    /**
     * createId
     */
    @TableField(value = "create_id")
    private String createId;

    /**
     * createDate
     */
    @TableField(value = "create_date")
    private Date createDate;

    public static LambdaQueryWrapper<ArchiveUpload> lambdaQueryWrapper() {
        return new LambdaQueryWrapper<>();
    }

    public static QueryWrapper<ArchiveUpload> queryWrapper() {
        return new QueryWrapper<>();
    }


}
