package com.jeesharp.business.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeesharp.framework.mybatis.core.dataobject.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 预售配置
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mall_presale")
public class MallPresale extends BaseEntity<MallPresale> {

    /**
     * SPU ID
     */
    private String spuId;

    /**
     * 定金金额
     */
    private BigDecimal depositAmount;

    /**
     * 尾款开始时间
     */
    private java.util.Date tailStartTime;

    /**
     * 尾款结束时间
     */
    private java.util.Date tailEndTime;

    /**
     * 预计发货时间
     */
    private java.util.Date shipTime;

    /**
     * 状态：0-禁用 1-启用
     */
    private Integer status;
}