package com.sckw.fleet.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.sckw.excel.annotation.ExcelContext;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serial;
import java.io.Serializable;

/**
 * @author zk
 * @desc 车队班组信息
 * @date 2023/7/6 0006
 */
@Data
@Accessors(chain = true)
@ExcelContext(fileName = "车队班组信息", sheetName = "车队班组信息")
public class KwfFleetVo implements Serializable {
    @Serial
    private static final long serialVersionUID = -7951209824419412686L;

    /**
     * 主键id
     */
    @ExcelIgnore
    private String id;

    /**
     * 企业id
     */
    @ExcelIgnore
    private Long entId;

    /**
     * 车队在id
     */
    @ExcelIgnore
    private Long captainId;

    /**
     * 车队名称
     */
    @ExcelProperty(value = "车队班组名称", index = 0)
    private String name;

    /**
     * 车队联系人
     */
    @ExcelProperty(value = "车队联系人", index = 1)
    private String contacts;

    /**
     * 联系电话
     */
    @ExcelProperty(value = "联系电话", index = 2)
    private String phone;

    /**
     * 创建人
     */
    @ExcelIgnore
    private String createBy;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人", index = 3)
    private String createByName;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间", index = 4)
    private String createTime;


    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间", index = 5)
    private String updateTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注", index = 6)
    private String remark;

}
