package cn.lihongjie.coal.warehouseGoodsAttr.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 CreateWarehouseGoodsAttrDto extends OrgCommonDto {

    @Comment("属性值")
    @Column(columnDefinition = "text[]")
    @Type(ListArrayType.class)
    private List<String> attrValues;

}
