package com.czg.market.dto;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import jakarta.validation.constraints.Max;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class MkDrainageConfigDTO  implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 堂食 dine-in  外带 take-out 外卖 take-away
     */
    private List<String> useType;

    /**
     * 群二维码
     */
    private String qrCode;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    @Length(max = 50, message = "内容最大长度为50")
    private String content;

    /**
     * 提示语
     */
    private String note;

    /**
     * 是否开启
     */
    private Integer isEnable;

}
