package com.maintain.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.maintain.common.annotation.ExcelDictFormat;
import com.maintain.common.convert.ExcelDictConvert;
import com.maintain.common.core.validate.AddGroup;
import com.maintain.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

import java.io.Serializable;

/**
 * 物资供应商视图对象 erp_material_vendor
 *
 * @author liushuai
 * @date 2025-04-03
 */
@Data
@ExcelIgnoreUnannotated
public class ErpMaterialVendorVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 供应商主键
     */
    private Long id;

    /**
     * 供应商名称
     */
    @ExcelProperty(value = "供应商名称")
    private String vendorName;

    /**
     * 供应商联系人
     */
    @ExcelProperty(value = "供应商联系人")
    private String vendorContact;

    /**
     * 供应商联系电话
     */
    @ExcelProperty(value = "供应商联系电话")
    private String vendorPhone;

    /**
     * 供应商地址
     */
    @ExcelProperty(value = "供应商地址")
    private String vendorAddress;

    /**
     * 纳税人识别号
     */
    @ExcelProperty(value = "纳税人识别号")
    private String taxpayerId;

    /**
     * 是否启用
     */
    @ExcelProperty(value = "是否启用")
    @ExcelDictFormat(dictType = "sys_is_enable")
    private Integer isEnable;


    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @ColumnWidth(20)
    private Date createTime;


}
