package com.casic.missiles.model.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cz
 * @since 2023-04-03
 */
@ApiModel
@Getter
@Setter
@TableName("system_file_config")
public class SystemFileConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @ApiModelProperty("下载编号")
    @TableField("download_no")
    private String downloadNo;

    @NotNull
    @ApiModelProperty("业务模块名称")
    @TableField("module_name")
    private String moduleName;

    @NotNull
    @ApiModelProperty("业务类型(字典)")
    @TableField("business_download_type")
    private String businessDownloadType;

    @ApiModelProperty("minio存储文件名")
    @TableField("minio_file_name")
    private String minioFileName;

    @TableField("file_name")
    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("文件类型")
    @TableField("file_type")
    private String fileType;

    @ApiModelProperty("描述备注")
    @TableField("descn")
    private String descn;


    @ApiModelProperty("描述备注")
    @TableField("version_name")
    private String versionName;

    @TableField("version_code")
    private Long versionCode;
    /**
     * 创建人id
     */
    @TableField("create_user")
    private Long createUser;

    /**
     * 更新人id
     */
    @TableField("update_user")
    private Long updateUser;

    /**
     * 删除标记
     */
    @TableField("is_del")
    private Boolean isDel;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private String createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private String updateTime;

}
