DocumentManage.java 3.5 KB
package com.skua.modules.document.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;

import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 智慧图书馆
 */
@Data
@TableName("document_manage")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="document_manage对象", description="智慧图书馆")
public class DocumentManage {

	/**主键*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键")
	private String id;
	/**公司ID*/
	@Excel(name = "公司ID", width = 15)
    @ApiModelProperty(value = "公司ID")
	private String cmpyId;
	/**文档类型*/
	@Excel(name = "文档类型", width = 15)
    @ApiModelProperty(value = "文档类型")
	@Dict(dicCode = "document_type")
	private String docuType;
	/**文档名称*/
	@Excel(name = "文档名称", width = 15)
    @ApiModelProperty(value = "文档名称")
	private String docuName;
	/**文档页数*/
	@Excel(name = "文档页数", width = 15)
    @ApiModelProperty(value = "文档页数")
	private String docuPageNumber;
	/**签订时间*/
	@ApiModelProperty(value = "签订时间")
	private String docuDate;
	/**文档文号*/
	@Excel(name = "文档文号", width = 15)
    @ApiModelProperty(value = "文档文号")
	private String docuNumber;
	/**文档说明*/
	@Excel(name = "文档说明", width = 15)
    @ApiModelProperty(value = "文档说明")
	private String docuDesc;
	/**文档地址*/
	@Excel(name = "文档地址", width = 15)
    @ApiModelProperty(value = "文档地址")
	private String docuAddr;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**合同金额*/
	@Excel(name = "合同金额", width = 15)
	@ApiModelProperty(value = "合同金额")
	private String docuPrice;
	/**厂区id*/
	@Excel(name = "厂id", width = 15)
	@ApiModelProperty(value = "departId")
	@Dict(dictTable = "sys_depart", dicCode="id", dicText = "depart_name")
	private String departId;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
	private String createBy;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private java.util.Date createTime;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
	private String updateBy;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private java.util.Date updateTime;
	/**createDept*/
	@Excel(name = "createDept", width = 15)
    @ApiModelProperty(value = "createDept")
	private String createDept;
	/**createCmpy*/
	@Excel(name = "createCmpy", width = 15)
    @ApiModelProperty(value = "createCmpy")
	private String createCmpy;
	/**delFlag*/
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	private Integer delFlag;
}