package com.sckw.contract.api.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;


@Data
@Schema(description = "合同信息")
public class ContractVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 7143305943655450894L;
    private Long id;

    @Schema(description = "状态")
    private Integer status;


    @Schema(description = "合同名称")
    private String name;

    @Schema(description = "总量")
    private BigDecimal amount;

    @Schema(description = "企业名称")
    private String firmName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
