package com.panzhihua.service_community.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* (McsProduct)表实体类
|
*
|
* @author makejava
|
* @since 2021-12-28 14:37:12
|
*/
|
@Data
|
@TableName(value = "mcs_product")
|
@SuppressWarnings("serial")
|
public class McsProduct implements Serializable {
|
private static final long serialVersionUID = 415357403059379804L;
|
|
@TableId(type = IdType.ASSIGN_ID)
|
private Long id;
|
/**
|
* 产品名称
|
*/
|
private String name;
|
/**
|
* 产品图片
|
*/
|
private String image;
|
/**
|
* 产品介绍
|
*/
|
private String introduction;
|
/**
|
* 浏览量
|
*/
|
private Integer viewNum;
|
/**
|
* 状态(1.上架中 2.已下架)
|
*/
|
private Integer status;
|
/**
|
* 是否删除
|
*/
|
private Boolean isDel;
|
/**
|
* 所属商家
|
*/
|
private Long merchantId;
|
/**
|
* 创建时间
|
*/
|
private Date createdAt;
|
/**
|
* 创建人
|
*/
|
private Long createdBy;
|
/**
|
* 最后更新时间
|
*/
|
private Date updatedAt;
|
/**
|
* 由谁更新
|
*/
|
private Long updatedBy;
|
|
/**
|
* 状态(1.上架中 2.已下架)
|
*/
|
public interface Status {
|
int sjz = 1;
|
int yxj = 2;
|
}
|
}
|