package com.bonus.material.ma.domain;

import com.bonus.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author : 阮世耀
 * @version : 1.0
 * @PackagePath: com.bonus.material.ma.domain
 * @CreateTime: 2025-02-13  17:33
 * @Description: 物资类型租赁价格历史记录
 */
@Data
@Accessors(chain = true)
public class MaTypeHistory {

    private Integer id;

    private Long typeId;

    private String typeName;

    @Excel(name = "物资类型")
    private String maType;
    @Excel(name = "物资名称")
    private String maName;
    @Excel(name = "规格型号")
    private String maModel;
    @Excel(name = "修改前租赁价格(元)")
    private BigDecimal beforePrice;
    @Excel(name = "修改后租赁价格(元)")
    private BigDecimal afterPrice;
    @Excel(name = "修改人")
    private String createBy;
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    private String keyword;
}
