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

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
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.mp.base.BaseEntity;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * <p>
 * 物业-收费-应用管理-减免详情规则
 * </p>
 *
 * @author baichaojie
 * @since 2024-09-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_park_property_reduction_detail")
@ApiModel(value="SaasParkPropertyReductionDetail对象", description="物业-收费-应用管理-减免详情规则")
public class SaasParkPropertyReductionDetail extends BaseEntity {

    /**
     * 项目id
     */
    @ApiModelProperty(name = "parkId", value = "项目id")
    private Long parkId;
    /**
     * 减免类型(1直接减免类型、2缴费减免类型)
     */
    @ApiModelProperty(name = "reductionType", value = "减免类型(1直接减免类型、2缴费减免类型)")
    private Integer reductionType;
    /**
     * 减免方式(1按单价减免、2指定减免金额、3交满指定月数费用、4交清指定时间内费用)
     */
    @ApiModelProperty(name = "reductionMethord", value = "减免方式(1按单价减免、2指定减免金额、3交满指定月数费用、4交清指定时间内费用)")
    private Integer reductionMethord;
    /**
     * 减免详情类型(1指定减免月数、2减免单价、3减免总额)
     */
    @ApiModelProperty(name = "reductionDetailType", value = "减免详情类型(1指定减免月数、2减免单价、3减免总额)")
    private Integer reductionDetailType;
    /**
     * 交满几个月
     */
    @ApiModelProperty(name = "fullyPaidMonth", value = "交满几个月")
    private Integer fullyPaidMonth;
    /**
     * 交清开始时间
     */
    @ApiModelProperty(name = "clearStartTime", value = "交清开始时间")
    private Date clearStartTime;
    /**
     * 交清结束时间
     */
    @ApiModelProperty(name = "clearEndTime", value = "交清结束时间")
    private Date clearEndTime;
    /**
     * 收费类型id
     */
    @ApiModelProperty(name = "feeType", value = "收费类型id")
    private Long feeType;
    /**
     * 减少多少元
     */
    @ApiModelProperty(name = "reduceMoney", value = "减少多少元")
    private Float reduceMoney;
    /**
     * 打折多少折
     */
    @ApiModelProperty(name = "discountMoney", value = "打折多少折")
    private Float discountMoney;
    /**
     * 减免多少元
     */
    @ApiModelProperty(name = "reductionMoney", value = "减免多少元")
    private Float reductionMoney;
    /**
     * 减免多少个月
     */
    @ApiModelProperty(name = "reductionMonth", value = "减免多少个月")
    private Integer reductionMonth;
    /**
     * 的收费类型id
     */
    @ApiModelProperty(name = "reductionFeeType", value = "的收费类型id")
    private Long reductionFeeType;
    /**
     * 指定开始日期
     */
    @ApiModelProperty(name = "specifyStartDay", value = "指定开始日期")
    private Date specifyStartDay;
    /**
     * 指定结束日期
     */
    @ApiModelProperty(name = "specifyEndDay", value = "指定结束日期")
    private Date specifyEndDay;
    /**
     * 是否需要交清欠费
     */
    @ApiModelProperty(name = "isNeedClearUp", value = "是否需要交清欠费")
    private Boolean isNeedClearUp;



}
