package cn.iocoder.yudao.module.energy.dal.dataobject.detail;

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;
import java.time.LocalDate;

/**
 * 加氢明细 DO
 */
@TableName("energy_hydrogen_detail")
@KeySequence("energy_hydrogen_detail_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EnergyHydrogenDetailDO extends BaseDO {

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

    /**
     * 加氢记录ID
     */
    private Long recordId;

    /**
     * 加氢站ID
     */
    private Long stationId;

    /**
     * 车辆ID
     */
    private Long vehicleId;

    /**
     * 车牌号
     */
    private String plateNumber;

    /**
     * 加氢日期
     */
    private LocalDate hydrogenDate;

    /**
     * 加氢量（kg）
     */
    private BigDecimal hydrogenQuantity;

    /**
     * 成本价
     */
    private BigDecimal costPrice;

    /**
     * 成本金额
     */
    private BigDecimal costAmount;

    /**
     * 客户价
     */
    private BigDecimal customerPrice;

    /**
     * 客户金额
     */
    private BigDecimal customerAmount;

    /**
     * 合同ID
     */
    private Long contractId;

    /**
     * 客户ID
     */
    private Long customerId;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 费用承担方
     */
    private Integer costBearer;

    /**
     * 支付方式
     */
    private Integer payMethod;

    /**
     * 审核状态
     */
    private Integer auditStatus;

    /**
     * 审核备注
     */
    private String auditRemark;

    /**
     * 扣费状态
     */
    private Integer deductionStatus;

    /**
     * 结算状态
     */
    private Integer settlementStatus;

    /**
     * 账单ID
     */
    private Long billId;

    /**
     * 备注
     */
    private String remark;

}
