Java 类javax.persistence.Column 实例源码
项目:crypto-exchange
文件:EntityInfo.java
static String getSqlType(Field f) {
String t = typeMapping.get(f.getType());
if (t != null) {
return t;
}
if (f.getType().equals(String.class)) {
Column c = f.getAnnotation(Column.class);
int length = c == null ? 255 : c.length();
return "VARCHAR(" + length + ")";
}
throw new IllegalArgumentException("Unsupported type: " + f.getType().getName() + " of field: " + f.getName());
}
项目:lemon
文件:JavamailConfig.java
/** @return null. */
@Column(name = "RECEIVE_PORT", length = 10)
public String getReceivePort() {
return this.receivePort;
}
项目:mzzb-server
文件:Disc.java
@Column(name = "release_date")
public Date getRelease() {
return release;
}
项目:sjk
文件:MonApp.java
@Column(name = "ApkId", nullable = false)
public int getApkId() {
return this.apkId;
}
项目:lemon
文件:PlmCategory.java
/** @return null. */
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATE_TIME", length = 26)
public Date getCreateTime() {
return this.createTime;
}
项目:lemon
文件:DiskInfo.java
/** @return null. */
@Column(name = "FILE_SIZE")
public Long getFileSize() {
return this.fileSize;
}
项目:lemon
文件:TemplateInfo.java
/** @return null. */
@Column(name = "TENANT_ID", length = 64)
public String getTenantId() {
return this.tenantId;
}
项目:sjk
文件:Market.java
@Column(name = "Status", nullable = false, length = 5)
public String getStatus() {
return this.status;
}
项目:sjk
文件:MarketApp.java
@Column(name = "PathStatus", nullable = false)
public byte getPathStatus() {
return this.pathStatus;
}
项目:sbc-qsystem
文件:QUser.java
@Column(name = "adress_rs")
public Integer getAdressRS() {
return adressRS;
}
项目:sbc-qsystem
文件:QCustomer.java
@Column(name = "previous_service", updatable = false, insertable = false)
public LinkedList<QService> getPreviousList() {
return this.PreviousList;
}
项目:lemon
文件:PlmSprint.java
/** @return null. */
@Column(name = "CODE", length = 50)
public String getCode() {
return this.code;
}
项目:sjk
文件:App.java
@Column(name = "RealDownload", nullable = false)
public int getRealDownload() {
return this.realDownload;
}
项目:lemon
文件:PartyEntity.java
/** @return 外部引用. */
@Column(name = "REF", length = 100)
public String getRef() {
return this.ref;
}
项目:sjk
文件:App.java
@Transient
@Column(name = "LastWeekDownload", nullable = false)
public int getLastWeekDownload() {
return this.lastWeekDownload;
}
项目:lemon
文件:PimDevice.java
/** @return null. */
@Column(name = "USER_ID", length = 64)
public String getUserId() {
return this.userId;
}
项目:sjk
文件:Catalog.java
@Column(name = "Keywords", nullable = false, length = 200)
public String getKeywords() {
return this.keywords;
}
项目:lemon
文件:VoteInfo.java
/** @return null. */
@Column(name = "STATUS", length = 50)
public String getStatus() {
return this.status;
}
项目:lemon
文件:TaskDefNotification.java
/** @return 模板编号. */
@Column(name = "TEMPLATE_CODE", length = 200)
public String getTemplateCode() {
return this.templateCode;
}
项目:lemon
文件:VisitorInfo.java
/** @return null. */
@Column(name = "NAME", length = 200)
public String getName() {
return this.name;
}
项目:sjk
文件:MonUserChannelApp.java
@Column(name = "CoverVersionCode", nullable = false)
public long getCoverVersionCode() {
return coverVersionCode;
}
项目:lemon
文件:PimPlan.java
/** @return null. */
@Column(name = "TENANT_ID", length = 50)
public String getTenantId() {
return this.tenantId;
}
项目:lemon
文件:WhitelistService.java
/** @return null. */
@Column(name = "USER_ID", length = 64)
public String getUserId() {
return this.userId;
}
项目:lemon
文件:PimRemind.java
/** @return 备注. */
@Column(name = "DESCRIPTION", length = 200)
public String getDescription() {
return this.description;
}
项目:lemon
文件:StampInfo.java
/** @return null. */
@Column(name = "NAME", length = 200)
public String getName() {
return this.name;
}
项目:sjk
文件:AndroidApp.java
@Column(name = "AuthType")
public Integer getAuthType() {
return this.authType;
}
项目:wangmarket
文件:Site.java
@Column(name = "company_name")
public String getCompanyName() {
return companyName;
}
项目:lemon
文件:PimDevice.java
/** @return null. */
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATE_TIME", length = 26)
public Date getCreateTime() {
return this.createTime;
}
项目:lemon
文件:TaskDefUser.java
/** @return 状态. */
@Column(name = "STATUS", length = 50)
public String getStatus() {
return this.status;
}
项目:lemon
文件:RoleDef.java
/** @return 主键. */
@Id
@Column(name = "ID", unique = true, nullable = false)
public Long getId() {
return this.id;
}
项目:wangmarket
文件:Agency.java
@Column(name = "oss_price")
public Integer getOssPrice() {
return ossPrice;
}
项目:lemon
文件:MeetingAttendee.java
/** @return null. */
@Column(name = "TENANT_ID", length = 64)
public String getTenantId() {
return this.tenantId;
}
项目:lemon
文件:AccountAvatar.java
/** @return 主键. */
@Id
@Column(name = "ID", unique = true, nullable = false)
public Long getId() {
return this.id;
}
项目:lemon
文件:ContractInfo.java
/** @return null. */
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "END_TIME", length = 26)
public Date getEndTime() {
return this.endTime;
}
项目:lemon
文件:ContractInfo.java
/** @return null. */
@Column(name = "TYPE", length = 50)
public String getType() {
return this.type;
}
项目:GitHub
文件:Office.java
@Column(name="territory", nullable=false, length=10)
public String getTerritory() {
return this.territory;
}
项目:sjk
文件:App.java
@Column(name = "EnumStatus", nullable = false, length = 6)
public String getEnumStatus() {
return this.enumStatus;
}
项目:lemon
文件:AuditExtra.java
/** @return null. */
@Column(name = "TENANT_ID", length = 64)
public String getTenantId() {
return this.tenantId;
}
项目:lemon
文件:FormSchema.java
/** @return null. */
@Column(name = "NAME", length = 50)
public String getName() {
return this.name;
}
项目:sjk
文件:AndroidApp.java
@Column(name = "Name", length = 200)
public String getName() {
return this.name;
}