package cn.lihongjie.coal.jobPost.dto;

import cn.lihongjie.coal.base.dto.OrgCommonDto;

import io.hypersistence.utils.hibernate.type.array.ListArrayType;

import jakarta.persistence.Column;

import lombok.Data;

import org.hibernate.annotations.Comment;
import org.hibernate.annotations.Type;

import java.util.List;

@Data
public class CreateJobPostDto extends OrgCommonDto {


    @Comment("绑定部门")
    @Column(columnDefinition = "text[]")
    @Type(ListArrayType.class)
    private List<String> departmentIds;
}
