package cn.lihongjie.coal.website.entity;

import cn.lihongjie.coal.base.entity.OrgCommonEntity;

import jakarta.persistence.Entity;
import jakarta.persistence.Table;

import lombok.Data;

import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.Comment;

@Data
@Entity
@Table(
        indexes =
                @jakarta.persistence.Index(
                        name = "idx_website_org_id",
                        columnList = "organization_id"))
public class WebsiteEntity extends OrgCommonEntity {
    @Comment("归档状态")
    @ColumnDefault("'0'")
    private String archiveStatus = "0";


    private String url;
}
