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

import cn.iocoder.yudao.framework.excel.core.convert.BoolenConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 门店管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CarteenRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1824")
    @ExcelProperty("门店编号")
    private Long id;

    @Schema(description = "门店名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("门店名称")
    private String storesName;

    @Schema(description = "门店状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty(value = "门店状态",converter = BoolenConvert.class )
    private Boolean status;

    @Schema(description = "多储位管理", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean multipleManage;

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

    @Schema(description = "门店地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("门店地址")
    private String storeAddress;

    @Schema(description = "联系电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("联系电话")
    private String phone;

    @Schema(description = "创建时间")
//    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    private BigDecimal bindMoney;
}