package com.ruoyi.basic.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; /** * 供应商管理-合同记录表 * * @author ruoyi * @date 2026-06-24 */ @Data @TableName("supplier_contract_record") @Schema(name = "供应商合同记录") public class SupplierContractRecord implements Serializable { private static final long serialVersionUID = 1L; /** * 主键ID */ @TableId(type = IdType.AUTO) private Long id; /** * 关联供应商ID */ @Schema(description = "关联供应商ID") private Long supplierId; /** * 总合同号 */ @Schema(description = "总合同号") private String masterContractNo; /** * 录入日期 */ @Schema(description = "录入日期") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField(value = "entry_date") private LocalDateTime entryDate; /** * 录入人 */ @Schema(description = "录入人") private String entryPerson; /** * 录入人ID */ @Schema(description = "录入人ID") private Long entryPersonId; /** * 备注 */ @Schema(description = "备注") private String remark; /** * 租户ID */ @TableField(fill = FieldFill.INSERT) private Long tenantId; /** * 部门ID */ @TableField(fill = FieldFill.INSERT) private Long deptId; /** * 创建用户 */ @Schema(description = "创建用户") @TableField(fill = FieldFill.INSERT) private Integer createUser; /** * 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; /** * 修改用户 */ @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; /** * 修改时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; }