package com.zhiqiyun.open.core.models.bz;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhiqiyun.open.core.models.place.PlaceCategory;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("bz_media")
public class BzMedia implements Serializable {


    private static final long serialVersionUID = -5944447496876887398L;

    private Long id;
    private Long categoryId;
    private String name;
    private String address;

    private Date createdTime;
    private Long createdBy;
    private Date updatedTime;
    private Long updatedBy;

    @TableField(exist = false)
    private PlaceCategory category;
}
