package cn.minestar.agriculture.entity;

import cn.minestar.common.annotation.Excel;
import cn.minestar.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 【请填写功能名称】对象 wx_mini_label
 * 
 * @author www.minestar.cn/
 * @date 2021-08-12
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Data
@TableName("wx_mini_label")
public class WxMiniLabel
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /** $column.columnComment */
    @NotNull
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /**序号 */
    private Integer orderNum;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 备注 */
    private String remark;

}
