package org.dromara.work.domain.vo;

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

import java.io.Serial;
import java.io.Serializable;



/**
 * 改价配置视图对象 tp_change_price
 *
 * @author Maosw
 * @date 2024-08-12
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TpChangePrice.class)
public class TpChangePriceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 包含人员
     */
    @ExcelProperty(value = "包含人员")
    private String sid;

    /**
     * 改价金额
     */
    @ExcelProperty(value = "改价金额")
    private Long price;

    /**
     * 状态（1=开启，2=关闭）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1==开启，2=关闭")
    private Long state;

    /**
     * 最后一次修改时间
     */
    @ExcelProperty(value = "最后一次修改时间")
    private Long addTime;


}
