package com.maintain.business.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.maintain.common.annotation.ExcelDictFormat;
import com.maintain.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 维修人员-岗位视图对象 erp_post
 *
 * @author liushuai
 * @date 2025-03-25
 */
@Data
@ExcelIgnoreUnannotated
public class ErpPostVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 岗位编码
     */
    @ExcelProperty(value = "岗位编码")
    private String code;

    /**
     * 岗位名称
     */
    @ExcelProperty(value = "岗位名称")
    private String name;

    /**
     * 类型（1维修 2管理）
     */
    @ExcelProperty(value = "岗位类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "post_type")
    private Integer type;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建时间
     */
    private Date updateTime;

    /**
     * 是否删除（0否 1是 默认0）
     */
    private Integer isDelete;


}
