提交 | 用户 | 时间
|
71e81e
|
1 |
package cn.stylefeng.guns.base.i18n.dict; |
懒 |
2 |
|
|
3 |
import cn.stylefeng.guns.base.i18n.enums.TranslationEnum; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import java.io.Serializable; |
|
7 |
|
|
8 |
/** |
|
9 |
* <p> |
|
10 |
* 多语言表 |
|
11 |
* </p> |
|
12 |
* |
|
13 |
* @author stylefeng |
|
14 |
* @since 2019-10-17 |
|
15 |
*/ |
|
16 |
@Data |
|
17 |
public class TranslationDict implements Serializable { |
|
18 |
|
|
19 |
/** |
|
20 |
* 编码 |
|
21 |
*/ |
|
22 |
private String tranCode; |
|
23 |
|
|
24 |
public String getTranCode() { |
|
25 |
return tranCode; |
|
26 |
} |
|
27 |
|
|
28 |
public void setTranCode(String tranCode) { |
|
29 |
this.tranCode = tranCode; |
|
30 |
} |
|
31 |
|
|
32 |
public String getTranName() { |
|
33 |
return tranName; |
|
34 |
} |
|
35 |
|
|
36 |
public void setTranName(String tranName) { |
|
37 |
this.tranName = tranName; |
|
38 |
} |
|
39 |
|
|
40 |
public TranslationEnum getTranslationLanguages() { |
|
41 |
return translationLanguages; |
|
42 |
} |
|
43 |
|
|
44 |
public void setTranslationLanguages(TranslationEnum translationLanguages) { |
|
45 |
this.translationLanguages = translationLanguages; |
|
46 |
} |
|
47 |
|
|
48 |
public String getTranValue() { |
|
49 |
return tranValue; |
|
50 |
} |
|
51 |
|
|
52 |
public void setTranValue(String tranValue) { |
|
53 |
this.tranValue = tranValue; |
|
54 |
} |
|
55 |
|
|
56 |
/** |
|
57 |
* 多语言条例名称 |
|
58 |
*/ |
|
59 |
private String tranName; |
|
60 |
|
|
61 |
/** |
|
62 |
* 1:中文 2:英语 |
|
63 |
*/ |
|
64 |
private TranslationEnum translationLanguages; |
|
65 |
|
|
66 |
/** |
|
67 |
* 翻译的值 |
|
68 |
*/ |
|
69 |
private String tranValue; |
|
70 |
|
|
71 |
} |