package cn.iocoder.yudao.module.asset.dal.dataobject.vehicle;

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
 *
 * @author 芋道源码
 */
@TableName("asset_vehicle_business")
@KeySequence("asset_vehicle_business_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VehicleBusinessDO extends BaseDO {

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

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

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

    /**
     * 业务部门ID
     */
    private Long departmentId;

    /**
     * 业务负责人ID
     */
    private Long managerId;

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

    /**
     * 登记所有权
     */
    private String ownership;

    /**
     * 交车日期
     */
    private LocalDate deliveryDate;

    /**
     * 还车日期
     */
    private LocalDate returnDate;

    /**
     * 月租金
     */
    private BigDecimal monthlyRent;

    /**
     * 押金
     */
    private BigDecimal deposit;

}
