package cn.stylefeng.guns.modular.bs.customInfo.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import java.util.Date; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import java.io.Serializable; /** *
* 客户信息 *
* * @author ruimin * @since 2023-03-27 */ @TableName("bs_custom_info") public class CustomInfo implements Serializable { private static final long serialVersionUID=1L; /** * id */ @TableId(value = "id", type = IdType.ID_WORKER) private Long id; /** * 客户编号 */ @TableField("customer_code") private String customerCode; /** * 客户名称 */ @TableField("customer_name") private String customerName; /** * 客户类型 */ @TableField("customer_type") private String customerType; /** * 联系方式 */ @TableField("contact") private String contact; /** * 备注 */ @TableField("remarks") private String remarks; /** * 创建时间 */ @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; /** * 创建用户 */ @TableField(value = "create_user", fill = FieldFill.INSERT) private String createUser; /** * 修改时间 */ @TableField(value = "update_time", fill = FieldFill.UPDATE) private Date updateTime; /** * 修改用户 */ @TableField(value = "update_user", fill = FieldFill.UPDATE) private String updateUser; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getCustomerCode() { return customerCode; } public void setCustomerCode(String customerCode) { this.customerCode = customerCode; } public String getCustomerName() { return customerName; } public void setCustomerName(String customerName) { this.customerName = customerName; } public String getCustomerType() { return customerType; } public void setCustomerType(String customerType) { this.customerType = customerType; } public String getContact() { return contact; } public void setContact(String contact) { this.contact = contact; } public String getRemarks() { return remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public String getCreateUser() { return createUser; } public void setCreateUser(String createUser) { this.createUser = createUser; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getUpdateUser() { return updateUser; } public void setUpdateUser(String updateUser) { this.updateUser = updateUser; } @Override public String toString() { return "CustomInfo{" + "id=" + id + ", customerCode=" + customerCode + ", customerName=" + customerName + ", customerType=" + customerType + ", contact=" + contact + ", remarks=" + remarks + ", createTime=" + createTime + ", createUser=" + createUser + ", updateTime=" + updateTime + ", updateUser=" + updateUser + "}"; } }