package com.unis.crk.cplbusiness.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 结算管理
 * </p>
 *
 * @author TangSong
 * @since 2022-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SettlementManagement对象", description="结算管理")
public class SettlementManagement implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "数据记录id")
    @TableId(value = "dataId", type = IdType.UUID)
    private String dataId;

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

    @ApiModelProperty(value = "条目创建人")
    private String builder;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "builderDate",fill = FieldFill.INSERT)
    private Date builderDate;

    @ApiModelProperty(value = "编辑人")
    private String editor;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "modifyDate",fill = FieldFill.INSERT_UPDATE)
    private Date modifyDate;

    @ApiModelProperty(value = "上传数据时间")
    @TableField(value = "updateTime",strategy = FieldStrategy.IGNORED,update = "null",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "结算编号")
    private String settlementDocNo;

    @ApiModelProperty(value = "入库单据号")
    private String receiptDocNo;

    @ApiModelProperty(value = "审核人")
    private String reviewer;

    @ApiModelProperty(value = "审核状态")
    private String auditStatus;

    @ApiModelProperty(value = "审核时间")
    private String auditTime;

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

    @ApiModelProperty(value = "订单变红")
    private String orderNo;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "商品名称")
    private String tradeName;

    @ApiModelProperty(value = "入库时间")
    private Date warehousingTime;

    @ApiModelProperty(value = "入库信息")
    @TableField(exist = false)
    DataCrkywCplrkDefault  rk;
}
