package com.casic.missiles.model.equipment;

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

import java.io.Serializable;

/**
 * <p>
 * 固定资产-文件表
 * </p>
 *
 * @author cuicheng
 * @since 2022-12-12
 */
@Getter
@Setter
@TableName("equipment_fixed_asset_file")
public class EquipmentFixedAssetFile implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("id")
    @ApiModelProperty(value = "主键", dataType = "Long", required = true)
    private Long id;

    /**
     * 固定资产id
     */
    @TableField("asset_id")
    @ApiModelProperty(value = "固定资产id", dataType = "Long", required = true)
    private Long assetId;

    /**
     * 文件名
     */
    @ApiModelProperty(value = "文件名", dataType = "String", required = true)
    @TableField("file_name")
    private String fileName;

    /**
     * minio存储文件名
     */
    @TableField("minio_file_name")
    @ApiModelProperty(value = "minio存储文件名", dataType = "String", required = true)
    private String minioFileName;

    /**
     * 备注
     */
    @TableField("remark")
    @ApiModelProperty(value = "备注", dataType = "String", required = false)
    private String remark;

    /**
     * 创建人
     */
    @TableField("create_user")
    @ApiModelProperty(value = "创建人", dataType = "Long", required = false)
    private Long createUser;

    /**
     * 删除标记
     */
    @TableField("is_del")
    @ApiModelProperty(value = "删除标记", dataType = "Integer", required = false)
    private Integer isDel;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间", dataType = "String", required = false)
    private String createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    @ApiModelProperty(value = "更新时间", dataType = "String", required = false)
    private String updateTime;


}
