package com.ruoyi.basic.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.time.LocalDate; import java.time.LocalDateTime; @Data @TableName("supplier_manage") public class SupplierManage { @TableId(value = "id", type = IdType.AUTO) @ApiModelProperty(value = "供应商ID") private Integer id; @ApiModelProperty(value = "供应商编码") private String supplierCode; @ApiModelProperty(value = "供应商简称") private String supplierShortName; @ApiModelProperty(value = "供应商分类") private String supplierCategory; @ApiModelProperty(value = "供应商等级") private String supplierLevel; @ApiModelProperty(value = "合作状态:0停用,1合作中,2暂停") private Integer cooperationStatus; @ApiModelProperty(value = "首次合作日期") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate cooperationStartDate; @ApiModelProperty(value = "资质状态:0待完善,1有效,2即将到期,3已过期") private Integer qualificationStatus; @ApiModelProperty(value = "最近资质到期日期") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate qualificationExpiryDate; @ApiModelProperty(value = "供应产品摘要") private String suppliedProductsSummary; @ApiModelProperty(value = "合作历史摘要") private String cooperationHistorySummary; @ApiModelProperty(value = "备注") private String remark; @ApiModelProperty(value = "删除标志:0正常,1删除") private Integer deleteFlag; @ApiModelProperty(value = "供应商名称") @Excel(name = "供应商名称") private String supplierName; @ApiModelProperty(value = "纳税人识别号") @Excel(name = "纳税人识别号") private String taxpayerIdentificationNum; @ApiModelProperty(value = "公司地址") @Excel(name = "公司地址") private String companyAddress; @ApiModelProperty(value = "公司电话") @Excel(name = "公司电话") private String companyPhone; @ApiModelProperty(value = "开户行") @Excel(name = "开户行") private String bankAccountName; @ApiModelProperty(value = "账号") @Excel(name = "账号") private String bankAccountNum; @ApiModelProperty(value = "联系人") @Excel(name = "联系人") private String contactUserName; @ApiModelProperty(value = "联系电话") @Excel(name = "联系电话") private String contactUserPhone; @ApiModelProperty(value = "维护人ID") @Excel(name = "维护人") private Integer maintainUserId; @ApiModelProperty(value = "维护时间") @JsonFormat(pattern = "yyyy-MM-dd") // @Excel(name = "维护时间", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate maintainTime; @ApiModelProperty(value = "创建时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @ApiModelProperty(value = "创建用户") @TableField(fill = FieldFill.INSERT) private Integer createUser; @ApiModelProperty(value = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @ApiModelProperty(value = "修改用户") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @ApiModelProperty(value = "租户ID") @TableField(fill = FieldFill.INSERT) private Long tenantId; }