package cn.wise.sc.cement.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "sys_user_enclosure")
public class SysUserEnclosure implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private static final long serialVersionUID = 42L;

    private Integer userId;

    @ApiModelProperty("附件地址")
    private String enclosureUrl;

    @ApiModelProperty("状态(0未上传，1成功，2上传失败)")
    private Integer FlStatus;

    @ApiModelProperty("文件名")
    private String alias;

    @ApiModelProperty("扩展名")
    private String extName;

    @ApiModelProperty("上传时间")
    private LocalDateTime uploadTime;
}
