You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
warehouse/src/main/java/com/yeqifu/bus/entity/Provider.java

57 lines
2.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.yeqifu.bus.entity; // 包名
import com.baomidou.mybatisplus.annotation.IdType; // MyBatis-Plus主键类型注解
import com.baomidou.mybatisplus.annotation.TableId; // MyBatis-Plus主键注解
import com.baomidou.mybatisplus.annotation.TableName; // MyBatis-Plus表名注解
import lombok.Data; // Lombok注解自动生成getter和setter方法
import lombok.EqualsAndHashCode; // Lombok注解自动生成equals和hashCode方法
import lombok.ToString; // Lombok注解自动生成toString方法
import lombok.experimental.Accessors; // Lombok注解支持链式调用
import java.io.Serializable; // 序列化接口
/**
* <p>
* 供应商实体类,用于描述供应商信息
* InnoDB free: 9216 kB
* </p>
*
* @author luoyi-
* @since 2019-12-05
*/
@Data // Lombok注解自动生成getter和setter方法
@EqualsAndHashCode(callSuper = false) // Lombok注解重写equals和hashCode方法不调用父类
@Accessors(chain = true) // Lombok注解支持链式调用
@TableName("bus_provider") // MyBatis-Plus注解指定表名为bus_provider
@ToString // Lombok注解自动生成toString方法
public class Provider implements Serializable { // 定义Provider类实现Serializable接口
private static final long serialVersionUID = 1L; // 序列化版本号
@TableId(value = "id", type = IdType.AUTO) // MyBatis-Plus注解指定主键字段id为自增类型
private Integer id; // 供应商ID
private String providername; // 供应商名称
private String zip; // 邮政编码
private String address; // 供应商地址
private String telephone; // 供应商联系电话
private String connectionperson; // 联系人姓名
private String phone; // 联系人手机号码
private String bank; // 开户银行
private String account; // 银行账号
private String email; // 电子邮箱
private String fax; // 传真号码
private Integer available; // 是否可用1表示可用0表示不可用
}