package com.brframework.webapppatch.json; import com.alibaba.fastjson.annotation.JSONField; import com.brframework.commoncms.annatotion.column.SelectColumn; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.persistence.Column; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java.time.LocalDateTime; /** * 分支 * @author xu * @date 2019/11/18 10:38 */ @ApiModel @Data public class AppPatchBranchSimpleResult { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @ApiModelProperty(value = "id", required = true, example = "1") Long id; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "创建时间", required = true, example = "2019-04-24 16:23:19") @Column(updatable = false) LocalDateTime createDate; @ApiModelProperty(value = "操作系统", required = true, example = "Android,IOS") @SelectColumn(options = {"Android,Android", "IOS,IOS"}) String os; @ApiModelProperty(value = "分支名", required = true, example = "新分支") String branchName; @ApiModelProperty(value = "分支描述", required = true, example = "这个分支新的功能准备的") String branchDetail; }