package com.gxwebsoft.tower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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 22:34:32
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerContractFinalSettle对象", description = "项目结算书")
public class TowerContractFinalSettle implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "contract_final_settle_id", type = IdType.AUTO)
    private Integer contractFinalSettleId;

    @ApiModelProperty(value = "合同ID")
    private Integer contractId;

    @ApiModelProperty(value = "结算单位")
    private Integer settleCompanyId;

    @ApiModelProperty(value = "登记人员")
    private String signName;

    @ApiModelProperty(value = "登记日期")
    private String signDate;

    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 LocalDateTime createTime;

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

    @ApiModelProperty(value = "合同编号")
    @TableField(exist = false)
    private String contactNumber;

    @ApiModelProperty(value = "开票金额")
    @TableField(exist = false)
    private String totalInvoicingAmount;

    @ApiModelProperty(value = "收入金额")
    @TableField(exist = false)
    private String totalIncomeAmount;

    @ApiModelProperty(value = "结算公司")
    @TableField(exist = false)
    private String companyName;

    @ApiModelProperty(value = "结算日期")
    @TableField(exist = false)
    private String endDate;

}
