package com.izouma.dingdong.domain.backstage;

import com.izouma.dingdong.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;

@Data
//@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Banner extends BaseEntity {
    @ApiModelProperty(value = "图片", name = "pic")
    private String pic;

    @ApiModelProperty(value = "描述", name = "remark")
    private String remark;

    @ApiModelProperty(value = "地址", name = "url")
    private String url;
}
