package com.stylefeng.guns.modular.system.model;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
/**
*
*
*
*
* @author administrator
* @since 2023-03-22
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_yard")
public class TYard extends Model {
private static final long serialVersionUID=1L;
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@TableField("company_id")
private Integer companyId;
private String location;
@TableField("yard_name")
private String yardName;
@TableField("street_address")
private String streetAddress;
private String city;
private String state;
@TableField("zip_code")
private String zipCode;
private String country;
@TableField("contact_name")
private String contactName;
@TableField("contact_email")
private String contactEmail;
@TableField("gate_code")
private String gateCode;
@TableField("create_time")
private Date createTime;
/**
* 0正常 1删除
*/
private Integer remove;
@Override
protected Serializable pkVal() {
return this.id;
}
}