package com.skr.mdm.bean.vo.content;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ProjectName: mdm_new
 * @Package: com.skr.mdm.pojo.vo.contentManage
 * @ClassName: ContentVo
 * @Author: Tty
 * @Description: 内容视图对象
 * @Date: 2020/9/2 17:11
 * @Version: 1.0
 */
@Data
@ApiModel("文档表示层对象")
public class ContentVO implements Serializable {
	private static final long serialVersionUID = -6065752737503522521L;
	@ApiModelProperty("主键")
	private Integer id;

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

	@ApiModelProperty("内容大小")
	private String fileSize;

	@ApiModelProperty("修改时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	
	private Date updateTime;

	@ApiModelProperty("操作者")
	private String operator;

	@ApiModelProperty("备注")
	private String note;

	@ApiModelProperty(value = "全局类型 1：全局 2：部门全局 3：个人")
	private Integer globalType;

	@ApiModelProperty(value = "部门全局ID数组")
	private String departmentIds;
}
