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

import com.yuchen.saas.park.api.enums.property.CreateBillTypeEnum;
import com.yuchen.saas.park.api.enums.property.MonthDayEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;



@Data
@Builder
public class PropertyBillReminderMessageSendDTO {
    @ApiModelProperty(name = "phone", value = "手机号")
    private String phone;

    @ApiModelProperty(name = "parkId", value = "园区id")
    private Long parkId;

    @ApiModelProperty(name = "createBillType", value = "缴费类型:1-系统周期性生成，2-抄表生成，3-交押金，4-预收，5-临时，6-账单拆分，7-固定金额分摊，8-经营性收费")
    private Integer createBillType;

    @ApiModelProperty(name = "createBillType", value = "缴费类型:1-系统周期性生成，2-抄表生成，3-交押金，4-预收，5-临时，6-账单拆分，7-固定金额分摊，8-经营性收费")
    private String createBillTypeName;

    public String getCreateBillTypeName(){
        return CreateBillTypeEnum.convert(createBillType).getDesc();
    }

    @ApiModelProperty(name = "createBillType", value = "单位：分")
    private long receivableAmtFen;

    @ApiModelProperty(name = "periodicCharge", value = "周期性收费-计费周期")
    private String periodicCharge;

}
