ErpSettlement.java 4.4 KB
package com.skua.modules.erp.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 药剂结算单详情
 */
@Data
@TableName("erp_settlement")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="erp_settlement对象", description="药剂结算单详情")
public class ErpSettlement {

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
	private String id;

	/**供应商id*/
	@Excel(name = "供应商id", width = 15)
    @ApiModelProperty(value = "供应商id")
	@Dict(dictTable = "ajh_supplier_manage", dicCode="id", dicText = "supp_name")
	private String supplierId;
	/**水厂编号*/
	@Excel(name = "水厂编号", width = 15)
    @ApiModelProperty(value = "水厂编号")
	private String departId;
	/**采购合同*/
	@ApiModelProperty(value = "采购合同")
	private String purchaseContractId;
	/**分销合同*/
	@ApiModelProperty(value = "分销合同")
	private String distributContractId;

	/**合同编号*/
	@ApiModelProperty(value = "合同编号")
	private String contractCode;

	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
	private String materialNum;
	/**结算金额*/
	@Excel(name = "结算金额", width = 15)
    @ApiModelProperty(value = "结算金额")
	private String totalPrice;
	/**税额*/
	@Excel(name = "税额", width = 15)
    @ApiModelProperty(value = "税额")
	private String taxAmount;
	/**价税合计*/
	@Excel(name = "价税合计", width = 15)
    @ApiModelProperty(value = "价税合计")
	private String totalPriceTax;
	/**签字状态(1-申请,2-验收签字,3-经理签字)*/
	@Excel(name = "签字状态(1-申请,2-验收签字,3-经理签字)", width = 15)
    @ApiModelProperty(value = "审批状态(1-申请,2-验收签字,3-经理签字)")
	private Integer auditStatus;
	/**结算状态(0 未结算  1 已结算)*/
	@Excel(name = "结算状态(0 未结算  1 已结算)", width = 15)
    @ApiModelProperty(value = "结算状态(0 未结算  1 已结算)")
	private Integer status;
	/**申请时间*/
	@Excel(name = "申请时间", width = 15)
    @ApiModelProperty(value = "申请时间")
	private String applyTime;

	@Excel(name = "结算日期", width = 15)
	@ApiModelProperty(value = "结算日期")
	private String settlementTime;

	/**申请人签字*/
	@Excel(name = "申请人签字", width = 15)
    @ApiModelProperty(value = "申请人签字")
	private String applySign;
	/**验货时间*/
	@Excel(name = "验货时间", width = 15)
    @ApiModelProperty(value = "验货时间")
	private String inspectTime;
	/**验货签字*/
	@Excel(name = "验货签字", width = 15)
    @ApiModelProperty(value = "验货签字")
	private String inspectorSign;
	/**审批人签字时间*/
	@Excel(name = "审批人签字时间", width = 15)
    @ApiModelProperty(value = "审批人签字时间")
	private String approveTime;
	/**审批签字*/
	@Excel(name = "审批签字", width = 15)
    @ApiModelProperty(value = "审批签字")
	private String approverSign;


	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remarks;
	/**创建人id*/
	@Excel(name = "创建人id", width = 15)
    @ApiModelProperty(value = "创建人id")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改人id*/
	@Excel(name = "修改人id", width = 15)
    @ApiModelProperty(value = "修改人id")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
}