// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/domain/City.java
// @Data
// @NoArgsConstructor
// public class City extends AbstractAuditingEntity implements Serializable {
//     private static final long serialVersionUID = 1L;
//     
//     /**
//      * 城市id
//      */
//     private Long              id;
// 
//     private String            name;
// 
//     private String            state;
// }


import com.sdcuike.practice.domain.City;
import lombok.Data;
import javax.validation.constraints.NotNull;
package com.sdcuike.practice.domain.dto;



/**
 * Created by beaver on 2017/4/14.
 */
@Data
public class InsertCityRequestDto {
    @NotNull
    private String name;
    
    @NotNull
    private String state;
    
    
    public static void main(String[] args) {
// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/domain/City.java
// @Data
// @NoArgsConstructor
// public class City extends AbstractAuditingEntity implements Serializable {
//     private static final long serialVersionUID = 1L;
//     
//     /**
//      * 城市id
//      */
//     private Long              id;
// 
//     private String            name;
// 
//     private String            state;
// }


// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/domain/dto/InsertCityRequestDto.java
import com.sdcuike.practice.domain.City;
import lombok.Data;
import javax.validation.constraints.NotNull;

package com.sdcuike.practice.domain.dto;



/**
 * Created by beaver on 2017/4/14.
 */
@Data
public class InsertCityRequestDto {
    @NotNull
    private String name;
    
    @NotNull
    private String state;
    
    
    public static void main(String[] args) {
        City city = new City();