12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- package com.hssx.cloudmodel.entity;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.extension.activerecord.Model;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableField;
- import java.io.Serializable;
- /**
- * <p>
- *
- * </p>
- *
- * @author 吴涛涛
- * @since 2019-07-26
- */
- @TableName("tb_company")
- public class Company extends Model<Company> {
- private static final long serialVersionUID=1L;
- /**
- * 公司id
- */
- @TableId(value = "id", type = IdType.AUTO)
- private Integer id;
- /**
- * 公司名称
- */
- @TableField("company_name")
- private String companyName;
- /**
- * 公司地址
- */
- @TableField("company_address")
- private String companyAddress;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public String getCompanyName() {
- return companyName;
- }
- public void setCompanyName(String companyName) {
- this.companyName = companyName;
- }
- public String getCompanyAddress() {
- return companyAddress;
- }
- public void setCompanyAddress(String companyAddress) {
- this.companyAddress = companyAddress;
- }
- @Override
- protected Serializable pkVal() {
- return this.id;
- }
- @Override
- public String toString() {
- return "Company{" +
- "id=" + id +
- ", companyName=" + companyName +
- ", companyAddress=" + companyAddress +
- "}";
- }
- }
|