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.v3.oas.annotations.media.Schema; import lombok.Data; import java.time.LocalDate; import java.time.LocalDateTime; @Data @TableName("supplier_manage") public class SupplierManage { @TableId(value = "id", type = IdType.AUTO) private Long id; @Schema(description = "供应商名称") @Excel(name = "供应商名称") private String supplierName; @Schema(description = "纳税人识别号") @Excel(name = "纳税人识别号") private String taxpayerIdentificationNum; @Schema(description = "公司地址") @Excel(name = "公司地址") private String companyAddress; @Schema(description = "公司电话") @Excel(name = "公司电话") private String companyPhone; @Schema(description = "开户行") @Excel(name = "开户行") private String bankAccountName; @Schema(description = "账号") @Excel(name = "账号") private String bankAccountNum; @Schema(description = "联系人") @Excel(name = "联系人") private String contactUserName; @Schema(description = "联系电话") @Excel(name = "联系电话") private String contactUserPhone; @Schema(description = "维护人ID") @Excel(name = "维护人") private Integer maintainUserId; @Schema(description = "维护时间") @JsonFormat(pattern = "yyyy-MM-dd") // @Excel(name = "维护时间", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate maintainTime; @Excel(name = "是否白名单") @Schema(description = "是否白名单(0是 1否)") private Integer isWhite; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @Schema(description = "创建用户") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @Schema(description = "修改用户") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @Schema(description = "租户ID") @TableField(fill = FieldFill.INSERT) private Long tenantId; @Schema(description = "供应商类型") @TableField(value = "supplier_type") private String supplierType; @TableField(fill = FieldFill.INSERT) private Long deptId; }