package cn.iocoder.yudao.module.system.controller.admin.carteen.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 门店管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CarteenPageReqVO extends PageParam {

    @Schema(description = "门店名称", example = "芋艿")
    private String storesName;

    @Schema(description = "门店状态", example = "1")
    private Boolean status;

    @Schema(description = "多储位管理")
    private Boolean multipleManage;

    @Schema(description = "是否启用公众号点餐")
    private Boolean accountOrder;

    @Schema(description = "门店地址")
    private String storeAddress;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "类型,(all:全部)空为单个")
    private String type;

    @Schema(description = "门店id")
    private Long carteenId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}