package org.dromara.payment.merchant.domain.vo;

import org.dromara.payment.merchant.domain.BusMerchantConfig;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 商户配置视图对象 bus_merchant_config
 *
 * @author LionLi
 * @date 2024-04-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BusMerchantConfig.class)
public class BusMerchantConfigVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 商户id
     */
    @ExcelProperty(value = "商户id")
    private Long merId;

    /**
     * 是否自动审批（0：否 1：是）
     */
    @ExcelProperty(value = "是否自动审批", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=：否,1=：是")
    private Integer autoApprove;

    /**
     * 是否验证用工签约（0：否 1：是）
     */
    @ExcelProperty(value = "是否验证用工签约", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=：否,1=：是")
    private Integer valiWorker;


}
