package com.kospo.talk.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.persistence.*;
import jakarta.validation.constraints.Size;
import lombok.*;

import java.util.List;

@Getter
@Setter
@Entity
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "work_s")
public class WorkS {
    @Id
    @Size(max = 20)
    @Column(name = "work_id", nullable = false, length = 50)
    private String workId;

    @Size(max = 255)
    @Column(name = "work_url", length = 255)
    private String workUrl;

    @Column(name = "req_yn")
    private boolean reqYn;

    @Column(name = "simple_wrk_yn")
    private boolean simpleWrkYn;

    @Column(name = "simple_ord_yn")
    private boolean simpleOrdYn;

    @Column(name = "scm_yn")
    private boolean scmYn;

}