package cn.iocoder.yudao.module.system.dal.dataobject.biz;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/29  9:57
 * @Description:
 * @Version: 4.0
 */


@TableName("elderly_price_change_record")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PriceChangeRecordDO extends BaseDO {

    /**
     * 主键ID
     */
    @TableId
    private Long id;
    /**
     * 变更id
     */
    private Long changeId;
    /**
     * 原id
     */
    private Long originalId;
    /**
     * 原名称
     */
    private String originalName;
    /**
     * 类型id
     */
    private Long chargeCategoryId;
    /**
     * 类型名称
     */
    private String categoryName;
    /**
     * 价格
     */
    private BigDecimal amount;

    /**
     * 原价格
     */
    private BigDecimal originalAmount;

    private Long tenantId;


}
