package com.example.csbananasite.model;

import jakarta.persistence.*;

@Entity
public class PostNewsCS {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    @Column(length = 25500)
    private String name;

    @Column(length = 1000000)
    private String put_img1;

    @Column(length = 1000000)
    private String put_img2;

    @Column(length = 1000000)
    private String put_img3;

    @Lob
    private String text1;

    @Lob
    private String text2;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPut_img1() {
        return put_img1;
    }

    public void setPut_img1(String put_img1) {
        this.put_img1 = put_img1;
    }

    public String getText1() {
        return text1;
    }

    public void setText1(String text1) {
        this.text1 = text1;
    }

    public String getPut_img2() {
        return put_img2;
    }

    public void setPut_img2(String put_img2) {
        this.put_img2 = put_img2;
    }

    public String getText2() {
        return text2;
    }

    public void setText2(String text2) {
        this.text2 = text2;
    }

    public String getPut_img3() {
        return put_img3;
    }

    public void setPut_img3(String put_img3) {
        this.put_img3 = put_img3;
    }

    public PostNewsCS(String name, String put_img1, String text1, String put_img2, String text2, String put_img3) {
        this.name = name;
        this.put_img1 = put_img1;
        this.text1 = text1;
        this.put_img2 = put_img2;
        this.text2 = text2;
        this.put_img3 = put_img3;
    }

    public PostNewsCS() {
    }
}
