package com.iformall.domain.po.invest;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.*;

/**
 * @author luozukai
 * @date 2019/4/24 14:32
 */
@Data
public class InvestBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    public static final String COLUMN_TYPE = "json";

    /**
     * 主键ID
     */
    @TableId(type = IdType.ID_WORKER)
    @io.swagger.annotations.ApiModelProperty(value = "主键ID", name = "id")
    private Long id;
    /**
     * 租户ID
     */
    @io.swagger.annotations.ApiModelProperty(value = "租户ID", name = "tenantId")
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private String tenantId;

    /**
     * 创建时间
     */
    @io.swagger.annotations.ApiModelProperty(value = "创建时间", name = "createDate",example = "2018-10-01 12:18:48")
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private Date createDate;
    /**
     * 更新时间
     */
    @io.swagger.annotations.ApiModelProperty(value = "更新时间", name = "updateDate",example = "2018-10-01 12:18:48")
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private Date updateDate;
}
