package com.cool.store.dto.huoma;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @Author suzhuhong
 * @Date 2025/11/5 17:06
 * @Version 1.0
 */
@Data
public class PublishDTO {

    @ApiModelProperty(name = "门店编号",required = true)
    @NotEmpty(message = "门店编码不能为空")
    private String storeCode;
    @ApiModelProperty(name = "设备ID列表",required = true)
    @NotEmpty(message = "设备ID列表不能为空")
    @JSONField(name = "terminals")
    private List<String> deviceIdList;
    @ApiModelProperty("节目id")
    private Long programId;
}
