package com.yuchen.saas.park.api.entity.property;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 减免活动-直接减免-详情
 * </p>
 *
 * @author cxj
 * @since 2023-12-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("property_direct_reduction_detail")
@ApiModel(value="PropertyDirectReductionDetail对象", description="减免活动-直接减免-详情")
public class PropertyDirectReductionDetail extends TenantEntity {

    /**
     * 减免活动直接减免id
     */
    @ApiModelProperty(name = "directReductionId", value = "减免活动直接减免id")
    private Long directReductionId;
    /**
     * 园区id
     */
    @ApiModelProperty(name = "parkId", value = "园区id")
    private Long parkId;
    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;
    /**
     * 收费标准id
     */
    @NotNull
    @ApiModelProperty(name = "feeStandardId", value = "收费标准id")
    private Long feeStandardId;
    /**
     * 收费项目id
     */
    @ApiModelProperty(name = "feeItemId", value = "收费项目id")
    private Long feeItemId;
    /**
     * 1减少,2打折3指定减免
     */
    @NotNull
    @ApiModelProperty(name = "itemType", value = "1减少,2打折3指定减免")
    private Integer itemType;
    /**
     * 减少的金额/或打折的折扣0-10
     */
    @NotNull
    @ApiModelProperty(name = "reductionAmt", value = "减少的金额/或打折的折扣0-100")
    private Long reductionAmt;



}
