package com.xxfc.platform.activity.entity;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.IdentityDialect;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigInteger;

@Data
@Table(name = "activity_popup")
public class ActivityPopup {
    @Id
    @KeySql(dialect = IdentityDialect.MYSQL)
    private Integer id;

    @Column(name = "name")
    private String name;

    @Column(name = "descr")
    private String descr;

    @Column(name = "type")
    private Integer type;

    @Column(name = "url")
    private String url;

    @Column(name = "button_Images")
    private String buttonImages;

    @Column(name = "background")
    private String background;


    @Column(name = "start_time")
    private BigInteger startTime;

    @Column(name = "end_time")
    private BigInteger endTime;

    @Column(name = "status")
    private Integer status;

    @Column(name = "sort")
    private Integer sort;

    @Column(name = "crt_time")
    private BigInteger crtTime;

    @Column(name = "upd_time")
    private BigInteger updTime;


    @Column(name = "is_del")
    private Integer isDel;

    @Column(name = "time_type")
    private Integer timeType;

}
