package com.yeejoin.amos.boot.module.ugp.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * 附件表
 *
 * @author system_generator
 * @date 2022-09-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tz_ugp_attachment")
public class Attachment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 附件名称
     */
	@TableField("name")
    private String name;

    /**
     * 关联对象id
     */
	@TableField("source_id")
    private Long sourceId;

    /**
     * 附件信息(json对象)
     */
	@TableField("info")
    private String info;

    /**
     * 附件类型
     */
	@TableField("type")
    private String type;

}
