package org.dromara.personnel.domain.vo;

import org.dromara.personnel.domain.OpsWorkWage;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.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;



/**
 * 工种薪水视图对象 ops_work_wage
 *
 * @author LionLi
 * @date 2025-09-17
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = OpsWorkWage.class)
public class OpsWorkWageVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 项目id
     */
    @ExcelProperty(value = "项目id")
    private Long projectId;

    /**
     * 工种
     */
    @ExcelProperty(value = "工种")
    private String workType;

    /**
     * 是否是特种兵（1是 2否）
     */
    @ExcelProperty(value = "是否是特种兵", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=是,2=否")
    private String isSpecialType;

    /**
     * 工资计算方式（1计时 2计件）
     */
    @ExcelProperty(value = "工资计算方式", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=计时,2=计件")
    private String wageCalculationType;

    /**
     * 工资标准
     */
    @ExcelProperty(value = "工资标准")
    private Long wage;

    /**
     * 工资计量单位
     */
    @ExcelProperty(value = "工资计量单位")
    private String wageMeasureUnit;

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


}
