package com.xujie.modules.srm.entity; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; import com.xujie.common.utils.QueryPage; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.apache.ibatis.type.Alias; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; @Alias("SrmSupplier") @Data public class SrmSupplier extends QueryPage { /** * */ private Integer id; /** * */ private String site; /** * */ private String supplierNo; /** * */ private String supplierName; /** * */ private String supplierGroup; /** * */ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createDate; /** * */ private String createBy; /** * */ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date updateDate; /** * */ private String updateBy; private String supplierDocType; // 税号 private String taxCode; //税率 private String tax; // 传真 private String faxNo; // 电话 private String phoneNo; private String phoneNo2; private String phoneNo3; // 联系人 private String contact; // 地址 private String address; // 付款条件 private String paymentTerm; // 交货条件 private String deliveryTerm; // 采购员 private String buyer; // Sourcing专员 private String sourcingStaff; // 币种 private String currency; // ABC分类 private String abc; // 是否激活 private String active; // 银行名称 private String bankName; // 银行账号 private String bankAccount; // 税务编号 private String taxNo; // 邮箱 private String email; private String email2; //其他联系方式 private String otherContact1; private String otherContact2; private String otherContact3; //备注 private String memo; /** JSON 名固定为 cShortOffice:避免 Jackson 对 c+大写字段推导出 cshortOffice */ @JsonProperty("cShortOffice") @ApiModelProperty(value = "供应商简称(Office)") private String cShortOffice; @JsonProperty("cShortNpc") @ApiModelProperty(value = "供应商简称(NPC)") private String cShortNpc; }