package com.maternalmall.domain;

import jakarta.persistence.*;
import lombok.Data;

@Data
@Entity
@Table(name = "banner")
public class Banner {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(nullable = false, length = 255)
    private String imageUrl;

    @Column(length = 255)
    private String linkUrl;

    @Column(nullable = false)
    private Integer sortNo = 0;

    @Column(nullable = false)
    private Boolean enabled = true;
}
