package com.gxwebsoft.tower.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 合同结算详情
 *
 * @author 科技小王子
 * @since 2023-06-11 19:13:12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerSettleDetail对象", description = "合同结算详情")
public class TowerSettleDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "settle_detail_id", type = IdType.AUTO)
    private Integer settleDetailId;

    @ApiModelProperty(value = "结算id")
    private Integer settleId;

    @ApiModelProperty(value = "结算类型:0租金结算;1进退场费结算;2操作人员工资结算;3其他费用;4扣除项")
    private Integer type;

    @ApiModelProperty(value = "费用类型")
    private String settleCostType;

    @ApiModelProperty(value = "设备")
    private String equipmentName;

    @ApiModelProperty(value = "型号")
    private String equipmentModel;

    @ApiModelProperty(value = "出厂编号")
    private String factoryNo;

    @ApiModelProperty(value = "结算开始日期")
    private String startDate;

    @ApiModelProperty(value = "结算结束日期")
    private String endDate;

    @ApiModelProperty(value = "月租金/月工资")
    private BigDecimal monthAmount;

    @ApiModelProperty(value = "日租金")
    private BigDecimal dailyAmount;

    @ApiModelProperty(value = "多少月")
    private Integer month;

    @ApiModelProperty(value = "多少日")
    private Integer day;

    @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;

    @ApiModelProperty(value = "进退场单价/单次费用")
    private BigDecimal singleAmount;

    @ApiModelProperty(value = "进退场次数/次数")
    private Integer num;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "所有人")
    private Integer userId;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "支付比例")
    private BigDecimal payRate;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "进场时间")
    private LocalDateTime inDate;

    @ApiModelProperty(value = "退场时间")
    private LocalDateTime outDate;

}
