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-17 12:47:08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerInvoicingSettle对象", description = "开票结算单分摊")
public class TowerInvoicingSettle implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "invoicing_settle_id", type = IdType.AUTO)
    private Integer invoicingSettleId;

    @ApiModelProperty(value = "开票ID")
    private Integer invoicingId;

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

    @ApiModelProperty(value = "分摊金额")
    private BigDecimal shareAmount;

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

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

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

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

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

}
