|
|
|
@@ -41,15 +41,18 @@ public class WxChannel implements Serializable { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*渠道ID**/ |
|
|
|
/**渠道ID**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="渠道ID",name="channelId") |
|
|
|
private Integer channelId; |
|
|
|
/*渠道名**/ |
|
|
|
/**渠道名**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="渠道名",name="title") |
|
|
|
private String title; |
|
|
|
/*图片url**/ |
|
|
|
/**图片url**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="图片url",name="img") |
|
|
|
private String img; |
|
|
|
/**是否支持批量投放**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="是否支持批量投放0:不支持,1:支持",name="batch") |
|
|
|
private boolean batch; |
|
|
|
public Integer getChannelId() { |
|
|
|
return channelId; |
|
|
|
} |
|
|
|
@@ -69,14 +72,21 @@ public class WxChannel implements Serializable { |
|
|
|
img = _img; |
|
|
|
} |
|
|
|
|
|
|
|
public boolean isBatch() { |
|
|
|
return batch; |
|
|
|
} |
|
|
|
|
|
|
|
public void setBatch(boolean batch) { |
|
|
|
this.batch = batch; |
|
|
|
} |
|
|
|
|
|
|
|
public static enum Field |
|
|
|
{ |
|
|
|
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") |
|
|
|
,ChannelId_ASC("`channel_id` ASC"),ChannelId_DESC("`channel_id` DESC") |
|
|
|
,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") |
|
|
|
,Img_ASC("`img` ASC"),Img_DESC("`img` DESC") |
|
|
|
,ChannelId_ASC("`channel_id` ASC"),ChannelId_DESC("`channel_id` DESC") |
|
|
|
,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") |
|
|
|
,Img_ASC("`img` ASC"),Img_DESC("`img` DESC") |
|
|
|
,Batch_ASC("`batch` ASC"),atch_DESC("`batch` DESC") |
|
|
|
; |
|
|
|
private String value; |
|
|
|
Field(String value){ |
|
|
|
|