package com.baichuanxin.openrestapi.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/***
 *@Author duxiangyun
 *@Description 附件表
 *@Date 2024/9/3
 */
@Data
@TableName("organizationauth.tlk_upload_apply")
public class Attach {
    /**
     *@Author duxiangyun
     *@Description   表单需要的数据
     *@Date 2024/9/18
     */
    @TableField("created")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date created;
    @TableField("LASTMODIFIED")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date lastmodified;
    @TableField("FORMID")
    private String formid;
    @TableField("APPLICATIONID")
    private String applicationid;
    @TableField("DOMAINID")
    private String domainid;
    /**
     *@Author duxiangyun
     *@Description   业务需要数据
     *@Date 2024/9/18
     */
    //表ID和附件ID拼接  附件ID--表单ID
    @TableId("ID")
    private String id;
    @TableField("item_materials")
    private String itemMaterials ;
    @TableField("item_apply_paper_id")
    private String  itemApplyPaperId;
    @TableField("item_topid")
    private String itemTopid;
    @TableField("item_upload_apply_id")
    private String itemUploadApplyId ;
    @TableField("item_apply_paper_name")
    private String itemApplyPaperName;

}
