package cn.wisenergy.chnmuseum.party.model; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.Version; import com.baomidou.mybatisplus.annotation.TableId; import java.time.LocalDateTime; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import java.io.Serializable; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import cn.wisenergy.chnmuseum.party.common.validator.groups.Add; import cn.wisenergy.chnmuseum.party.common.validator.groups.Update; import com.baomidou.mybatisplus.annotation.TableField; /** * <p> * * </p> * * @author Danny Lee * @since 2021-03-29 */ @Data @Builder @AllArgsConstructor @NoArgsConstructor @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @TableName("t_app_run_pic") @ApiModel(value = "", description = "") public class TAppRunPic implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty("主键id") @TableId(value = "id", type = IdType.ASSIGN_ID) @NotNull(message = "主键id不能为空", groups = {Update.class}) private String id; @ApiModelProperty("运行图片") @TableField("app_run_pic") private String appRunPic; @ApiModelProperty("创建时间") @TableField(value = "create_time", fill = FieldFill.INSERT) private LocalDateTime createTime; @ApiModelProperty("是否为当前界面 0:否 1:是") @TableField("is_current") private Integer isCurrent; }